private IEnumerator Clean_One(Collider col) { yield return(new WaitForSeconds(0.2f)); m_Col_Pieces[col].Cleaned(); m_PickedAmount++; if (m_PickedAmount == m_ColPieces.Length) { OnRestoreEvent?.Invoke(); } }
private void BrokenEvent() { OnRestoreEvent?.Invoke(); }
public void OnRefresh() { OnRestoreEvent?.Invoke(); }