public UINpcDialogue() { // assign singleton only once (to work with DontDestroyOnLoad when // using Zones / switching scenes) if (singleton == null) { singleton = this; } }
public UINpcDialogue() { singleton = this; }
void Awake() { singleton = this; }