Esempio n. 1
0
 // Lets go of an object, does NOT reposition anywhere.
 public void Release( Collectable other )
 {
     if ( collection.Contains ( other ) )
     {
         collection.Remove ( other );
         other.Released ();
         if ( makeAttachPointParent )
         {
             other.transform.parent = null;
         }
     }
 }