DIFF

class BunkerBroadcastComponentBase

BunkerBroadcastComponentBase › Managed

Constructors 1

void BunkerBroadcastComponentBase(notnull EntityAI parent)
References m_Parent

Members 8

protected bool m_IsActive
protected string m_LockCode
protected vector m_Position
Referenced by GetPosition(), and Init()
protected int m_Id
Referenced by GetId(), and Init()
protected BunkerBroadcastHandler m_Handler
Referenced by Init()
protected ref ScriptInvoker m_OnActivated
protected ref ScriptInvoker m_OnDeactivated

Methods 11

ScriptInvoker GetOnActivated()

id is persistent until the parent of component is moved in world

References m_OnActivated
void OnActivate(string code, bool loadedAsActive = false)
References ScriptInvoker.Invoke(), SetActive(), m_LockCode
Show 1 more, m_OnActivated
void OnDeactivate()
References ScriptInvoker.Invoke(), SetActive(), m_LockCode
Show 1 more, m_OnDeactivated
protected void SetActive(bool state)
Referenced by OnActivate(), and OnDeactivate()