Beispiel #1
0
 public bool TryStayPickUpedObject()
 {
     pickedUpObj.OnPickStay();
     pickedUpObj = null;
     pickUped    = false;
     return(true);
 }
Beispiel #2
0
 public bool OnPickupedObjectClicked()
 {
     if (onPickStatu != null)
     {
         onPickStatu.Invoke(pickedUpObj.Go);
     }
     pickedUpObj.OnPickStay();
     pickedUpObj = null;
     return(true);
 }