示例#1
0
 private void OnDisable()
 {
     WaterRipples.Unregister(this);
     DynamicWater.RemoveRenderer <WaterSimulationArea>(this);
     this.ReleaseDepthCamera();
     this.ReleaseTextures();
     if (this._CommandBuffer != null)
     {
         this._CommandBuffer.Release();
         this._CommandBuffer = null;
     }
 }