namespace 설정 오류 수정

This commit is contained in:
aube.lee
2025-01-24 18:37:47 +09:00
parent f69e89a106
commit 10f31b0222
2 changed files with 104 additions and 101 deletions

View File

@@ -3,8 +3,12 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class VariableJoystick : Joystick
namespace TON
{
public class VariableJoystick : Joystick
{
public float MoveThreshold { get { return moveThreshold; } set { moveThreshold = Mathf.Abs(value); } }
[SerializeField] private float moveThreshold = 1;
@@ -58,6 +62,7 @@ public class VariableJoystick : Joystick
}
base.HandleInput(magnitude, normalised, radius, cam);
}
}
}
public enum JoystickType { Fixed, Floating, Dynamic }
public enum JoystickType { Fixed, Floating, Dynamic }
}

View File

@@ -3,10 +3,9 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace TON
public class VariableJoystick : Joystick
{
public class VariableJoystick : Joystick
{
public float MoveThreshold { get { return moveThreshold; } set { moveThreshold = Mathf.Abs(value); } }
[SerializeField] private float moveThreshold = 1;
@@ -60,7 +59,6 @@ namespace TON
}
base.HandleInput(magnitude, normalised, radius, cam);
}
}
public enum JoystickType { Fixed, Floating, Dynamic }
}
public enum JoystickType { Fixed, Floating, Dynamic }