void OnInputClicked(string controlName, int data) { Debug.Log("OnInputClicked:" + " controlName:" + controlName + " data:" + data); if (customProfileCharacters == null) { customProfileCharacters = GetComponentInChildren <UICustomizeProfileCharacters>(); } if (customProfileCharacters == null) { return; } if (customProfileCharacters.inputCurrentDisplayName != null && controlName == customProfileCharacters.inputCurrentDisplayName.name) { GameUIPanelHeader.CharacterLargeZoomIn(); GameUIPanelHeader.CharacterLargeShowBack(); } else if (customProfileCharacters.inputCurrentDisplayCode != null && controlName == customProfileCharacters.inputCurrentDisplayCode.name) { GameUIPanelHeader.CharacterLargeZoomIn(); GameUIPanelHeader.CharacterLargeShowFront(); } }
// PANEL SECTIONS STATES public void HandleCharacterDisplay() { // handle character display if (characterDisplayState == UIPanelCharacterDisplayState.Character) { GameUIPanelHeader.ShowCharacter(); } else if (characterDisplayState == UIPanelCharacterDisplayState.CharacterLarge) { GameUIPanelHeader.ShowCharacterLarge(); } }