Example #1
0
 void Start()
 {
     _Mapboat = this;
     if (BattleEnvironmentM.GetBattleEnvironmentMode() == BattleEnvironmentMode.Edit)
     {
         EnableBoatAnimator(false);
     }
     else
     {
         //CreateRejectPolygon ();
     }
 }
Example #2
0
 void OnDisable()
 {
     _Mapboat = null;
 }
Example #3
0
 void OnEnable()
 {
     _Mapboat = this;
 }
Example #4
0
 private void Awake()
 {
     Instance = this;
 }