/// <summary> /// Add uConstruct to the scene, it will ignore it if its already created. /// </summary> public static void GX_InitiateManagers() { //Set uConstruct try { UCCallbacksManager.CreateAndInitialize(); // This will create our uConstruct manager in the scene, and if there is already one, it would just skip the process. } catch (Exception) { Debug.LogError("Applying uConstruct Manager Failed."); } }
/// <summary> /// Create and initialize the callbacks manager. /// </summary> public virtual void Awake() { UCCallbacksManager.CreateAndInitialize(); LockCursor = defaultLockCursor; }