private void InitialSetUp() { timeToRevivalText = _deathMessageContainer.timeToRevivalText; deathMessageCard = _deathMessageContainer.deathMessageCard; revivalInfoCard = _deathMessageContainer.revivalInfoCard; deathMessageCanvas = _deathMessageContainer.deathMessageCanvas; revivalButton = _deathMessageContainer.revivalButton; revivalButton.Initialize(); }
private void InitializeYouAreDeadCanvas() { deathMessageCanvas = GetComponentInChildren <DeathMessageCanvas>(true); deathMessagePanel = GetComponentInChildren <DeathMessagePanel>(true); deathMessageCard = GetComponentInChildren <DeathMessageCard>(true); timeToRevivalText = GetComponentInChildren <TimeToRevivalText>(true); revivalInfoCard = GetComponentInChildren <RevivalInfoCard>(true); revivalButton = GetComponentInChildren <RevivalButton>(true); }