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