public static void Log(string message, LogMessageLevel logLevel) { if (LogManager.Singleton == null) { return; } MogreDesignSupportManager.Log(message, logLevel); }
public static bool Deinitialize() { if (!IsInitialized) { MogreDesignSupportManager.Log("MogreDesignSupport - Failed Deinitialization: Mogre Design Support was not initialized.", LogMessageLevel.LML_TRIVIAL); return(false); } mogreDesignSupport.Unload(); mogreDesignSupport = null; return(true); }
public static bool Initialize(bool loadAllTypes) { //if field is already initialized do nothing. if (IsInitialized) { MogreDesignSupportManager.Log("MogreDesignSupport - Failed Initialization: already initialized.", LogMessageLevel.LML_TRIVIAL); return(false); } MogreDesignSupportManager.mogreDesignSupport = new MogreDesignSupport(); MogreDesignSupportManager.mogreDesignSupport.Load(loadAllTypes); return(true); }