private void Awake() { if (initialized) Destroy(gameObject); DontDestroyOnLoad(gameObject); initialized = true; instance = this; if (!ccLoaded) { ccLoaded = true; contractReflection.loadMethods(); } }
private void Awake() { if (initialized) { Destroy(gameObject); } DontDestroyOnLoad(gameObject); initialized = true; instance = this; if (!ccLoaded) { ccLoaded = true; contractReflection.loadMethods(); } }