Esempio n. 1
0
        void SaveDataChangeAt(int i, Bone prev, Bone next)
        {
            var change = next.Changed(prev);

            if ((change & Bone.ChangeFlags.Position) != 0)
            {
                _syncPositionList [i] = next.position;
            }
            if ((change & Bone.ChangeFlags.Rotation) != 0)
            {
                _syncRotationList [i] = next.rotation;
            }
            if ((change & Bone.ChangeFlags.Scale) != 0)
            {
                _syncScaleList [i] = next.scale;
            }
        }