diff options
author | chai <chaifix@163.com> | 2021-09-01 19:29:48 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-09-01 19:29:48 +0800 |
commit | 8c519185b0053daa23c5c5978d47baf77c1391b0 (patch) | |
tree | 72c149df2e9691db3e079c92fb03219c9ddc8e9e /Assets/Scripts/Unit/Controller/UnitController.cs | |
parent | 21278085eae9c069fcb5cf61fbcdb6ca18f15b69 (diff) |
*action tool的帧范围
Diffstat (limited to 'Assets/Scripts/Unit/Controller/UnitController.cs')
-rw-r--r-- | Assets/Scripts/Unit/Controller/UnitController.cs | 2 |
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;
}
}
|