// Use this for initialization void Start() { pad = new GamePad(playerNumber); parent = new Player(playerNumber); parent.gamepad = pad; parent.team = new Team((TEAMCODE)playerNumber); sprite.color = new Color(1F, 1F, 1F, 0.7F); state = new NotJoinState(this, pad); }