[HideInInspector] public string playerControllerID; //this is used to determine which player this script is for // Gets called by the PlayerManager script once it gives the CardManager a reference to it public void Initialize() { playerControllerID = playerManager.id.ToString(); deckReference = gameObject.GetComponentInChildren <Deck>(); handReference = gameObject.GetComponentInChildren <HandManager>(); handReference.cardManager = this; handReference.InitializeHand(); }