void CallOnBeamGeometryInitializedCallback() { if (m_OnBeamGeometryInitialized != null) { m_OnBeamGeometryInitialized(); m_OnBeamGeometryInitialized = null; } }
public void RegisterOnBeamGeometryInitializedCallback(OnBeamGeometryInitialized cb) { m_OnBeamGeometryInitialized += cb; if (m_BeamGeom) { CallOnBeamGeometryInitializedCallback(); } }