UnityEditor.LightEditor.SetOptions C# (CSharp) Method

SetOptions() private method

private SetOptions ( AnimBool animBool, bool initialize, bool targetValue ) : void
animBool AnimBool
initialize bool
targetValue bool
return 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;
            }
        }