Example #1
0
        /// <summary>
        /// Handles the logic required in the inicialization of the instance.
        /// </summary>
        static private ModuleCore InstanceInitialize()
        {
            ModuleCore __instance = new ModuleCore();

            GameCore.instance.AddModuleCore(__instance);

            return(__instance);
        }
Example #2
0
 /// <summary>
 /// Function to be called from the module core to send itself to this core.
 /// </summary>
 public void AddModuleCore(ModuleCore p_moduleCore)
 {
     _moduleCore = p_moduleCore;
 }