DepthTexture.Update C# (CSharp) 메소드

Update() 보호된 메소드

protected Update ( ) : void
리턴 void
    protected void Update()
    {
        Camera.main.depthTextureMode = DepthTextureMode.Depth;
        depthPower = Mathf.Clamp(depthPower, 0f, 5f);
    }