Ejemplo n.º 1
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
 }
Ejemplo n.º 2
0
 void Awake()
 {
     if (ins == null)
     {
         ins = this;
     }
     else
     {
         Destroy(this);
     }
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     ins = this;
 }
Ejemplo n.º 4
0
    // Use this for initialization

    private void Awake()
    {
        instance = this;
    }
Ejemplo n.º 5
0
 // Sets this as the current instance of the Radial Menu Spawner.
 void Awake()
 {
     ins = this;
 }
Ejemplo n.º 6
0
 private void Awake()
 {
     ins = this;
     cam = Camera.main;
 }
Ejemplo n.º 7
0
 void Awake()
 {
     ins = this;
     infoPanel.SetActive(true);
 }