Ejemplo n.º 1
0
 /// <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.");
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create and initialize the callbacks manager.
 /// </summary>
 public virtual void Awake()
 {
     UCCallbacksManager.CreateAndInitialize();
     LockCursor = defaultLockCursor;
 }