diff options
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;
|