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