コード例 #1
0
    public void SetPlayer(Player p)
    {
        CommanderUI otherCommanderUI = p.Type == PlayerType.Battlebeard ? _stormshaperCommanderUI : _battlebeardCommanderUI;

        otherCommanderUI.DisablePlayerMovement();
        _CommanderUI = p.Type == PlayerType.Battlebeard ? _battlebeardCommanderUI : _stormshaperCommanderUI;
        _CommanderUI.DisplayInfo();
        SwitchFocus(_CommanderUI);
    }
コード例 #2
0
 public void DisablePlayerMovement()
 {
     _CommanderUI.DisablePlayerMovement();
 }