summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Unit/Controller
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-01 19:29:48 +0800
committerchai <chaifix@163.com>2021-09-01 19:29:48 +0800
commit8c519185b0053daa23c5c5978d47baf77c1391b0 (patch)
tree72c149df2e9691db3e079c92fb03219c9ddc8e9e /Assets/Scripts/Unit/Controller
parent21278085eae9c069fcb5cf61fbcdb6ca18f15b69 (diff)
*action tool的帧范围
Diffstat (limited to 'Assets/Scripts/Unit/Controller')
-rw-r--r--Assets/Scripts/Unit/Controller/UnitController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assets/Scripts/Unit/Controller/UnitController.cs b/Assets/Scripts/Unit/Controller/UnitController.cs
index 9b3ef6e5..63202f29 100644
--- a/Assets/Scripts/Unit/Controller/UnitController.cs
+++ b/Assets/Scripts/Unit/Controller/UnitController.cs
@@ -45,7 +45,7 @@ public class UnitController : MonoBehaviour/*, Interactable*/
{
get
{
- return transform.rotation.eulerAngles.y == 0 ? true : false;
+ return transform.rotation.eulerAngles.y == 0;
}
}