From 802ffb019f62133fd25376c5b8a8ca0811569d41 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 17 Aug 2021 09:30:20 +0800 Subject: *misc --- Assets/Scripts/Unit/Controller/UnitController.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (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 a48ef6ee..5523f256 100644 --- a/Assets/Scripts/Unit/Controller/UnitController.cs +++ b/Assets/Scripts/Unit/Controller/UnitController.cs @@ -60,6 +60,15 @@ public class UnitController : MonoBehaviour/*, Interactable*/ } } + private bool m_Visible; + public bool visible + { + get + { + return m_Visible; + } + } + public virtual void Initialize( GameObject obj , string folder) { unitObj = obj; -- cgit v1.1-26-g67d0