void Start() { cachedRenderer = GetComponent <Renderer>(); if (playerNum == 0) { this.gameObject.tag = "Player0"; } else { this.gameObject.tag = "Player1"; } myTM.SetState(playerNum + 1); }