コード例 #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);
 }