예제 #1
0
 public void SetSelectedChar(CharController selectedChar)
 {
     if (!selectedChar.Equals(selectedCharacter)) {
         selectedCharacter = selectedChar;
         selectedChar.SendMessage("OnSelected", SendMessageOptions.DontRequireReceiver);
         currentlySelectedChar = true;
     }
 }
예제 #2
0
 public void SetSelectedChar(CharController selectedChar)
 {
     if (!selectedChar.Equals(selectedCharacter))
     {
         selectedCharacter = selectedChar;
         selectedChar.SendMessage("OnSelected", SendMessageOptions.DontRequireReceiver);
         currentlySelectedChar = true;
     }
 }