internal void SendEventIfAvailable() { lock (m_lockObject) { if (m_updatedIndices.Count != 0) { if (m_onGridIndicesDirty != null) { m_onGridIndicesDirty(m_updatedIndices); } m_updatedIndices.Clear(); } } }