//Creates the animation data collection out of the fields/properties marked with [AnimatableParameter] attribute
        void CreateAnimationDataCollection()
        {
            if (handleParametersRegistrationManually)
            {
                return;
            }

            if (animatedParametersInfo != null && animatedParametersInfo.Length != 0)
            {
                animationData = new AnimationDataCollection(animatedParametersInfo, this, null, null);
            }
        }
Example #2
0
        //Creates the animation data collection out of the fields/properties marked with [AnimatableParameter] attribute
        void CreateAnimationDataCollection()
        {
            if (handleParametersRegistrationManually)
            {
                return;
            }

            if (animatedParameterPaths != null && animatedParameterPaths.Length != 0)
            {
                animationData = new AnimationDataCollection(this, this.GetType(), animatedParameterPaths, null);
            }
        }