void OnDestroy() { if (this == ManagedCanvasManager.instance) { ManagedCanvasManager.instance = null; } }
void Start() { ManagedCanvasManager.instance = this; }