示例#1
0
 public void AddBrushPrefab(BrushPrefab prefab)
 {
     if (brushPrefabs == null)
     {
         brushPrefabs = new List <BrushPrefab>();
     }
     brushPrefabs.Add(prefab);
 }
示例#2
0
 public void RemoveBrushPrefab(BrushPrefab prefab)
 {
     brushPrefabs?.Remove(prefab);
 }