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