Пример #1
0
 void Start()
 {
     Background.sprite = ResourcePaths.GetRandomBackground();
     CurrentMenuPanel.GetComponent <Animator>().SetTrigger(AnimatorTriggerHash.GetTrigger("Show"));
     FPSCounter.Instantiate();
 }
Пример #2
0
 void Awake()
 {
     _Current = this;
     FPSCounter.Instantiate();
     DebugConsole.Instantiate((int)(Screen.width / 3), 10);
 }