game(scripts): refmt door and player

This commit is contained in:
Mark Joshwel 2024-08-10 13:14:03 +08:00
parent db13087900
commit 5d4583caca
2 changed files with 9 additions and 9 deletions

View file

@ -32,17 +32,17 @@ public enum DoorType
/// TODO /// TODO
/// </summary> /// </summary>
public float duration; public float duration;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>
public AnimationCurve curve; public AnimationCurve curve;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>
private bool _isOpen; private bool _isOpen;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>

View file

@ -15,32 +15,32 @@ public class Player : MonoBehaviour
/// TODO /// TODO
/// </summary> /// </summary>
[SerializeField] private Transform playerPosition; [SerializeField] private Transform playerPosition;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>
[SerializeField] private float seeDistance; [SerializeField] private float seeDistance;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>
public LayerMask raycastLayers; public LayerMask raycastLayers;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>
private bool _active; private bool _active;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>
private CommonInteractable _currentInteractable; private CommonInteractable _currentInteractable;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>
private bool _raycast; private bool _raycast;
/// <summary> /// <summary>
/// TODO /// TODO
/// </summary> /// </summary>