UnityEditor.LightProbeProxyVolumeEditor.SetOptions C# (CSharp) 메소드

SetOptions() 개인적인 메소드

private SetOptions ( AnimBool animBool, bool initialize, bool targetValue ) : void
animBool AnimBool
initialize bool
targetValue bool
리턴 void
        private void SetOptions(AnimBool animBool, bool initialize, bool targetValue)
        {
            if (initialize)
            {
                animBool.value = targetValue;
                animBool.valueChanged.AddListener(new UnityAction(this.Repaint));
            }
            else
            {
                animBool.target = targetValue;
            }
        }