Exemple #1
0
 void OnDestroy()
 {
     if (this == ManagedCanvasManager.instance)
     {
         ManagedCanvasManager.instance = null;
     }
 }
Exemple #2
0
 void Start()
 {
     ManagedCanvasManager.instance = this;
 }