public override void StateUpdate() { Meteorite.FallDown(); if (Meteorite.TransformRoot.position.y <= -100f) { Meteorite.gameObject.SetActive(false); } }
public override void StateUpdate() { Meteorite.FallDown(); if (Meteorite.CheckGround()) { Meteorite.SetState(eMeteoriteState.StuckGround); Meteorite.SpawnHole(); GameEventManager.Instance.OnMeteoriteFall(); } }