예제 #1
0
 // Update is called once per frame
 void Update()
 {
     if ((firstMember > -1 && firstMember < party.playerParty.Length) && (secondMember > -1 && secondMember < party.playerParty.Length))
     {
         party.SwapPartyMembers(firstMember, secondMember);
         UpdateOrderPanel();
         main.UpdateMainMenu();
         firstMember = -1; secondMember = -1;
     }
 }