Beispiel #1
0
        public void Dispose()
        {
            if (_instance != null)
            {
                _instance._MaterialList = null;
                _instance = null;

            }
            else
            {
                REngine.Instance.AddToLog("RMaterialFactory cannot be destroyed, cannot find instance!");
            }
        }
Beispiel #2
0
 public RMaterialFactory()
 {
     if (_instance == null)
         _instance = this;
 }