summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchai <215380520@qq.com>2023-10-29 11:32:05 +0800
committerchai <215380520@qq.com>2023-10-29 11:32:05 +0800
commitf04b63e6a0d994c9794a4479bfdf1c51b2924fe0 (patch)
tree196d52ba7b14a0301783f45fb3a28fc76f3de2e0
parent38d621ff5c118ec98d4020ec02c5296ad2036233 (diff)
+ code
-rw-r--r--Doc/ROUNDS分析.xlsxbin9613266 -> 9690687 bytes
-rw-r--r--ROUNDS/.vs/ROUNDS/v17/.suobin169984 -> 176128 bytes
-rw-r--r--ROUNDS/_Player/Block.cs2
-rw-r--r--ROUNDS/_Player/CharacterData.cs3
-rw-r--r--ROUNDS/_Player/Gravity.cs1
-rw-r--r--ROUNDS/_Player/WallRayCaster.cs1
-rw-r--r--ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.dllbin908288 -> 908288 bytes
-rw-r--r--ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.pdbbin486512 -> 486516 bytes
-rw-r--r--ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.dllbin908288 -> 908288 bytes
-rw-r--r--ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.pdbbin486512 -> 486516 bytes
-rw-r--r--ROUNDS/obj/Debug/netstandard2.1/ROUNDS.csproj.CoreCompileInputs.cache2
11 files changed, 7 insertions, 2 deletions
diff --git a/Doc/ROUNDS分析.xlsx b/Doc/ROUNDS分析.xlsx
index 9273472..7ac3a6e 100644
--- a/Doc/ROUNDS分析.xlsx
+++ b/Doc/ROUNDS分析.xlsx
Binary files differ
diff --git a/ROUNDS/.vs/ROUNDS/v17/.suo b/ROUNDS/.vs/ROUNDS/v17/.suo
index f3e1fe7..9f1c665 100644
--- a/ROUNDS/.vs/ROUNDS/v17/.suo
+++ b/ROUNDS/.vs/ROUNDS/v17/.suo
Binary files differ
diff --git a/ROUNDS/_Player/Block.cs b/ROUNDS/_Player/Block.cs
index b48d264..ba49294 100644
--- a/ROUNDS/_Player/Block.cs
+++ b/ROUNDS/_Player/Block.cs
@@ -5,6 +5,8 @@ using Photon.Pun;
using Sonigon;
using UnityEngine;
+// ƶûϵ
+
public class Block : MonoBehaviour
{
[Header("Sounds")]
diff --git a/ROUNDS/_Player/CharacterData.cs b/ROUNDS/_Player/CharacterData.cs
index be9f482..561a49b 100644
--- a/ROUNDS/_Player/CharacterData.cs
+++ b/ROUNDS/_Player/CharacterData.cs
@@ -256,7 +256,7 @@ public class CharacterData : MonoBehaviour
wasWallGrabLastFrame = false;
}
- // ȽҪ
+ // ȽҪǰisGrounded=trueע͵ӰڵƶӰȵȾ
// ֻ isGrounded = true
public void TouchGround(Vector3 pos, Vector3 groundNormal, Rigidbody2D groundRig, Transform groundTransform = null)
{
@@ -320,6 +320,7 @@ public class CharacterData : MonoBehaviour
}
}
+ // û
public bool ThereIsGroundBelow(Vector3 pos, float range = 5f)
{
RaycastHit2D raycastHit2D = Physics2D.Raycast(pos, Vector2.down, range, groundMask);
diff --git a/ROUNDS/_Player/Gravity.cs b/ROUNDS/_Player/Gravity.cs
index c6fc7d3..0c8b459 100644
--- a/ROUNDS/_Player/Gravity.cs
+++ b/ROUNDS/_Player/Gravity.cs
@@ -24,6 +24,7 @@ public class Gravity : MonoBehaviour
{
num = data.sinceWallGrab;
}
+ // ʩµ
if (num > 0f)
{
rig.AddForce(Vector3.down * TimeHandler.timeScale * Mathf.Pow(num, exponent) * gravityForce * rig.mass, ForceMode2D.Force);
diff --git a/ROUNDS/_Player/WallRayCaster.cs b/ROUNDS/_Player/WallRayCaster.cs
index b7d5c52..354e917 100644
--- a/ROUNDS/_Player/WallRayCaster.cs
+++ b/ROUNDS/_Player/WallRayCaster.cs
@@ -23,6 +23,7 @@ public class WallRayCaster : MonoBehaviour
{
}
+ // Ӱ͵˶
public void RayCast(Vector3 dir, float offset = 0f)
{
RaycastHit2D raycastHit2D = Physics2D.Raycast(base.transform.position + base.transform.up * offset, dir, rayLength * base.transform.localScale.x, mask);
diff --git a/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.dll b/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.dll
index 2105001..004537a 100644
--- a/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.dll
+++ b/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.dll
Binary files differ
diff --git a/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.pdb b/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.pdb
index 50af66e..53059f3 100644
--- a/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.pdb
+++ b/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.pdb
Binary files differ
diff --git a/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.dll b/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.dll
index 2105001..004537a 100644
--- a/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.dll
+++ b/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.dll
Binary files differ
diff --git a/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.pdb b/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.pdb
index 50af66e..53059f3 100644
--- a/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.pdb
+++ b/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.pdb
Binary files differ
diff --git a/ROUNDS/obj/Debug/netstandard2.1/ROUNDS.csproj.CoreCompileInputs.cache b/ROUNDS/obj/Debug/netstandard2.1/ROUNDS.csproj.CoreCompileInputs.cache
index ad8e926..07c3784 100644
--- a/ROUNDS/obj/Debug/netstandard2.1/ROUNDS.csproj.CoreCompileInputs.cache
+++ b/ROUNDS/obj/Debug/netstandard2.1/ROUNDS.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-d53aa903def1a9e861fd2cda6c1f7a53d40e9560
+5b4c0a1437d658d9a3acd6ad52cbd3d21d75fbe7