示例#1
0
    void Start()
    {
        mInputPrefab = Resources.Load <InputField>("UsernameField");
        mTurnManager = GameManagerScript.GetInstance().GetComponent <TurnManagerScript>();

        mUsernames      = new List <string>();
        mUsernameFields = new List <InputField>();
        mValidUserRoles = mTurnManager.getValidRoles();
        mPlayerCount    = mTurnManager.getPlayerCount();

        PlaceLabelsInCircle();
    }