From 8c519185b0053daa23c5c5978d47baf77c1391b0 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 1 Sep 2021 19:29:48 +0800 Subject: =?UTF-8?q?*action=20tool=E7=9A=84=E5=B8=A7=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Unit/Controller/UnitController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assets/Scripts/Unit/Controller/UnitController.cs') 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; } } -- cgit v1.1-26-g67d0