예제 #1
0
 protected internal override void OnDisable()
 {
     lock (ActiveMeshRenderersLocker)
     {
         ActiveMeshRenderers.Remove(this);
     }
 }
예제 #2
0
 protected internal override void OnEnable()
 {
     lock (ActiveMeshRenderersLocker)
     {
         ActiveMeshRenderers.Add(this);
     }
 }
예제 #3
0
 protected internal override void OnDelete()
 {
     lock (ActiveMeshRenderersLocker)
     {
         Material = null;
         MeshRenderers.Remove(this);
         ActiveMeshRenderers.Remove(this);
     }
     this._Mesh = null;
 }