using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; public class SceneBrushBuilding : SceneBrush { public override EBrushType brushType => EBrushType.Building; public override string RootName => "Buildings"; protected override bool OnPrefabRepeat(ref GameObject k_prefab,SceneBrush savedBrush) { Debug.LogError($"当前建筑已经绑定过笔刷,请使用该笔刷: 笔刷名字:{savedBrush.name} 笔刷备注:{savedBrush.remarkName}"); return false; } }