diff options
author | chai <chaifix@163.com> | 2021-08-17 09:30:20 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-08-17 09:30:20 +0800 |
commit | 802ffb019f62133fd25376c5b8a8ca0811569d41 (patch) | |
tree | d06e2e1d0e9a732eef3253b7159377f112a492c1 /Assets/Scripts/Unit/Controller/UnitController.cs | |
parent | 66cb60a2cd50c7053d8a5caa345e90c4959eb850 (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Unit/Controller/UnitController.cs')
-rw-r--r-- | Assets/Scripts/Unit/Controller/UnitController.cs | 9 |
1 files changed, 9 insertions, 0 deletions
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;
|