示例#1
0
    private void SetButtons()
    {
        _startButton.onClick.AddListener(StartGame);
        _startButton.interactable = false;

        _player1Info.Init();
        _player2Info.Init();

        _player1Info.SetAvatarID(0);
        _player2Info.SetAvatarID(1);
    }
示例#2
0
 private void SetID()
 {
     _playerInfoView.SetAvatarID(_id);
 }