public void AddBrushPrefab(BrushPrefab prefab) { if (brushPrefabs == null) { brushPrefabs = new List <BrushPrefab>(); } brushPrefabs.Add(prefab); }
public void RemoveBrushPrefab(BrushPrefab prefab) { brushPrefabs?.Remove(prefab); }