示例#1
0
 public override void StateUpdate()
 {
     Meteorite.FallDown();
     if (Meteorite.CheckGround())
     {
         Meteorite.SetState(eMeteoriteState.StuckGround);
         Meteorite.SpawnHole();
         GameEventManager.Instance.OnMeteoriteFall();
     }
 }
示例#2
0
 public override void OnPointerClick(PointerEventData pointerEventData)
 {
     Meteorite.SetState(eMeteoriteState.FallDownGround);
 }