1 [
EntityEditorProps(
category:
"GameScripted/Building", description:
"Defines a building radius (limits the camera range and draw the visual borders)")]
12 override void OnActivate(IEntity ent)
14 GetOnEntityEnterTrigger().Invoke(ent);
19 override void OnDeactivate(IEntity ent)
21 GetOnEntityLeaveTrigger().Invoke(ent);
30 return m_OnEntityEnter;
39 return m_OnEntityLeave;
45 SetEventMask(EntityEvent.INIT | EntityEvent.FRAME);
46 SetFlags(EntityFlags.NO_TREE);