using System; using TinyGoose.Tremble; using UnityEngine; namespace Code.Game.OfficeGame.Location { [BrushEntity(type: BrushType.Trigger, trenchBroomName: "LocationSegmentTrigger")] public class LocationSegmentTrigger : MonoBehaviour, IOnImportFromMapEntity { public LocationSegment segment; public void OnImportFromMapEntity(MapBsp mapBsp, BspEntity entity) { gameObject.layer = LayerMask.NameToLayer("LocationTrigger"); } } }