public void CathingState(FillingRobber fillingRobber) { fillingRobber.SetSprite(fillingRobber.CathSprite); fillingRobber.RobbersSound.PlayAudioCatching(); fillingRobber.RobbersSound.PlayTimerAudio(true); fillingRobber.CatchRobbers.Collider2D.enabled = false; fillingRobber.DragAndDrop.IsCanDrag = true; }
public void DropState(FillingRobber fillingRobber) { fillingRobber.SetSprite(fillingRobber.DefaultSprite); fillingRobber.RobbersSound.PlayAudioRobberLose(); fillingRobber.RobbersSound.PlayTimerAudio(false); fillingRobber.WaitTimeToEnableColider(); fillingRobber.DragAndDrop.IsCanDrag = false; fillingRobber.IsFind = true; }