From f04b63e6a0d994c9794a4479bfdf1c51b2924fe0 Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Sun, 29 Oct 2023 11:32:05 +0800 Subject: + code --- "Doc/ROUNDS\345\210\206\346\236\220.xlsx" | Bin 9613266 -> 9690687 bytes ROUNDS/.vs/ROUNDS/v17/.suo | Bin 169984 -> 176128 bytes ROUNDS/_Player/Block.cs | 2 ++ ROUNDS/_Player/CharacterData.cs | 3 ++- ROUNDS/_Player/Gravity.cs | 1 + ROUNDS/_Player/WallRayCaster.cs | 1 + .../bin/Debug/netstandard2.1/Assembly-CSharp.dll | Bin 908288 -> 908288 bytes .../bin/Debug/netstandard2.1/Assembly-CSharp.pdb | Bin 486512 -> 486516 bytes .../obj/Debug/netstandard2.1/Assembly-CSharp.dll | Bin 908288 -> 908288 bytes .../obj/Debug/netstandard2.1/Assembly-CSharp.pdb | Bin 486512 -> 486516 bytes .../ROUNDS.csproj.CoreCompileInputs.cache | 2 +- 11 files changed, 7 insertions(+), 2 deletions(-) diff --git "a/Doc/ROUNDS\345\210\206\346\236\220.xlsx" "b/Doc/ROUNDS\345\210\206\346\236\220.xlsx" index 9273472..7ac3a6e 100644 Binary files "a/Doc/ROUNDS\345\210\206\346\236\220.xlsx" and "b/Doc/ROUNDS\345\210\206\346\236\220.xlsx" differ diff --git a/ROUNDS/.vs/ROUNDS/v17/.suo b/ROUNDS/.vs/ROUNDS/v17/.suo index f3e1fe7..9f1c665 100644 Binary files a/ROUNDS/.vs/ROUNDS/v17/.suo and b/ROUNDS/.vs/ROUNDS/v17/.suo 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 Binary files a/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.dll and b/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.dll 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 Binary files a/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.pdb and b/ROUNDS/bin/Debug/netstandard2.1/Assembly-CSharp.pdb 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 Binary files a/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.dll and b/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.dll 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 Binary files a/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.pdb and b/ROUNDS/obj/Debug/netstandard2.1/Assembly-CSharp.pdb 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 -- cgit v1.1-26-g67d0