Class UIPanelController
public class UIPanelController : SingletonMonoBehaviour<UIPanelController>
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourUIPanelController
- Inherited Members
- Extension Methods
Properties
BackgroundGameboard
private Image BackgroundGameboard { get; set; }
Property Value
- Image
EndGamePanel
private GameObject EndGamePanel { get; set; }
Property Value
- GameObject
EndText
private TextMeshProUGUI EndText { get; set; }
Property Value
- TextMeshProUGUI
GameboardGameObject
private GameObject GameboardGameObject { get; set; }
Property Value
- GameObject
MainMenuPanel
private GameObject MainMenuPanel { get; set; }
Property Value
- GameObject
Methods
AttachToEvents()
private void AttachToEvents()
ChangeBackgroundColor(Color)
private void ChangeBackgroundColor(Color targetColor)
Parameters
targetColorColor
Decommission()
Method called when a Singleton instance is destroyed within the OnDestroy callback. It is used to overwrite the destroyed behavior.
protected override void Decommission()
DetachFromEvents()
private void DetachFromEvents()
DisplayEndPanel(string)
public void DisplayEndPanel(string endText)
Parameters
endTextstring
DisplayGameboard()
public void DisplayGameboard()
Initialize()
Method called when a Singleton instance is created within the Awake callback. It is used to override the initialization behavior.
protected override void Initialize()
PlayAgainDisplayGameboard()
public void PlayAgainDisplayGameboard()