示例#1
0
 public void SetTarget(Alive target)
 {
     if (selectedCharacter != null) {
         selectedCharacter.Command_Attack( target );
         target.SendMessage("OnTargeted", SendMessageOptions.DontRequireReceiver);
         currentlyTargetedChar = true;
     }
 }
示例#2
0
 public void SetTarget(Alive target)
 {
     if (selectedCharacter != null)
     {
         selectedCharacter.Command_Attack(target);
         target.SendMessage("OnTargeted", SendMessageOptions.DontRequireReceiver);
         currentlyTargetedChar = true;
     }
 }