예제 #1
0
 void borrarHijos3(Slot_enlaces slt)
 {
     foreach (Transform child in slt.transform)
     {
         GameObject.Destroy(child.gameObject);
     }
 }
예제 #2
0
 bool EstaBien(Slot_enlaces slt, string str)
 {
     return(slt.item.tag == str);
 }
예제 #3
0
 void SumaValencia(Slot_enlaces slt, int uno, int dos)
 {
     slt.valencia = uno + dos;
 }