/// Constructor, name could be empty/null for noname systems public Feature(string name) { name = FeatureHelper.GetUnnamed(name); FeatureHelper.CollectSystems(name, this); }
public FeatureWithObserver(string name) : base(FeatureHelper.GetUnnamed(name)) { FeatureHelper.CollectSystems(this.name, this); Object.DontDestroyOnLoad(this.gameObject); }