Beispiel #1
0
 public void CreatePloppable(GameObject ploppable)
 {
     if (currentPloppable != null)
     {
         currentPloppable.Cancel();
     }
     currentPloppable         = Instantiate(ploppable).GetComponent <Ploppable>();
     currentPloppable.enabled = true;
 }
Beispiel #2
0
 public void ResetPloppable()
 {
     currentPloppable = null;
 }