示例#1
0
        // **************************

        private void SetStateVisual()
        {
            if (_set)
            {
                _animator.Animate("SET");
            }
            else
            {
                if (CanSet)
                {
                    _animator.Animate("UNSET_VALID");
                }
                else
                {
                    _animator.Animate("UNSET_INVALID");
                }
            }

            if (_active)
            {
                _animator.Animate("ACTIVE");
            }
            else
            {
                _animator.Animate("INACTIVE");
            }
        }