private void OnEnable() { this._Position = base.transform.position; this._Scale = base.transform.localScale; this._CommandBuffer = new CommandBuffer { name = "[Ultimate Water]: Water Simulation Area" }; this.CreateDepthCamera(); this.CreateTextures(); this.UpdateShaderVariables(); this.RenderStaticDepthTexture(); DynamicWater.AddRenderer <WaterSimulationArea>(this); WaterRipples.Register(this); }