예제 #1
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
 }
예제 #2
0
 void Awake()
 {
     if (ins == null)
     {
         ins = this;
     }
     else
     {
         Destroy(this);
     }
 }
예제 #3
0
 private void Awake()
 {
     ins = this;
 }
예제 #4
0
    // Use this for initialization

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