Exemplo n.º 1
0
 void Awake()
 {
     if (instance == null)
     {
         instance    = this;
         key.enabled = false;
     }
     else
     {
         Destroy(gameObject);
     }
 }
Exemplo n.º 2
0
 public static void HidePowerBar()
 {
     UIPowerBar.Hide();
     UICollectable.ChangeYPosition(-40f);
 }
Exemplo n.º 3
0
 public static void HideKey()
 {
     UICollectable.HideKey();
 }
Exemplo n.º 4
0
 public static void ShowPowerBar()
 {
     UIPowerBar.Show();
     UICollectable.ChangeYPosition(-130f);
 }
Exemplo n.º 5
0
 public static void DisplayKey()
 {
     UICollectable.DisplayKey();
 }