public void SpawnAnimation() { AnimationSpeedInS = 0.8f; KeepOriginalPosition = true; KeepOriginalScale = true; ScaleAnimation = Animation_MoveInDirection.ScaleAnim.Scale_Up; KillTile = false; AnimationTrigger = true; }
public void TileDeath() { ScaleAnimation = ScaleAnim.Scale_Down; Direction = DirectionAnim.Down; KeepOriginalPosition = false; KeepOriginalScale = false; AnimationSpeedInS = 0.5f; KillTile = true; ActivateAnimation(); }