Example #1
0
 public MaterialMap()
 {
     if (_instance != null)
     {
         FLLog.Warning("MaterialMap", "Switching global material map. TODO make instance");
     }
     _instance = this;
 }
Example #2
0
 public MaterialMap()
 {
     if (_instance != null)
     {
         throw new Exception("Only one MaterialMap can be made");
     }
     _instance = this;
 }