void calcCurve(SpriteAnimationComponent component)
        {
            component.CalcCurve(null);
            component._fullPath     = component.GetFullPath();
            component._fullPathHash = component._fullPath.GetHashCode();

            foreach (int idx in component.children)
            {
                SpriteAnimationComponent comp = subComponents[idx];
                calcCurve(comp);
            }
        }
Exemple #2
0
        void calcCurve(SpriteAnimationComponent component, bool calcComp)
        {
            if (calcComp)
            {
                component.CalcCurve(null);
            }

            component._fullPath     = component.GetFullPath();
            component._fullPathHash = EasyMotion2DUtility.GetHashCode(component._fullPath);

            foreach (int idx in component.children)
            {
                SpriteAnimationComponent comp = subComponents[idx];
                calcCurve(comp, calcComp);
            }
        }
        void calcCurve(SpriteAnimationComponent component, bool calcComp )
        {
            if (calcComp)
                component.CalcCurve( null );

            component._fullPath = component.GetFullPath();
            component._fullPathHash = EasyMotion2DUtility.GetHashCode( component._fullPath );

            foreach (int idx in component.children)
            {
                SpriteAnimationComponent comp = subComponents[idx];
                calcCurve(comp, calcComp);
            }
        }
        void calcCurve(SpriteAnimationComponent component)
        {
            component.CalcCurve( null );
            component._fullPath = component.GetFullPath();
            component._fullPathHash = component._fullPath.GetHashCode();

            foreach (int idx in component.children)
            {
                SpriteAnimationComponent comp = subComponents[idx];
                calcCurve(comp);
            }
        }