Exemplo n.º 1
0
 public UINpcDialogue()
 {
     // assign singleton only once (to work with DontDestroyOnLoad when
     // using Zones / switching scenes)
     if (singleton == null)
     {
         singleton = this;
     }
 }
Exemplo n.º 2
0
 public UINpcDialogue()
 {
     singleton = this;
 }
Exemplo n.º 3
0
 void Awake()
 {
     singleton = this;
 }