protected internal override void OnDisable() { lock (ActiveMeshRenderersLocker) { ActiveMeshRenderers.Remove(this); } }
protected internal override void OnEnable() { lock (ActiveMeshRenderersLocker) { ActiveMeshRenderers.Add(this); } }
protected internal override void OnDelete() { lock (ActiveMeshRenderersLocker) { Material = null; MeshRenderers.Remove(this); ActiveMeshRenderers.Remove(this); } this._Mesh = null; }