Пример #1
0
        public static FSequence CreateSequence(GameObject gameObject)
        {
            FSequence sequence = gameObject.AddComponent <FSequence>();

            sequence._content = new GameObject("Content").transform;

            sequence._content.parent = sequence.transform;

            sequence.Add(FContainer.Create(FContainer.DEFAULT_COLOR, "Group 0"));

            sequence.Version = FUtility.FLUX_VERSION;

            return(sequence);
        }
Пример #2
0
        public static FSequence CreateSequence(GameObject gameObject)
        {
            FSequence sequence = gameObject.AddComponent <FSequence>();

            sequence._content            = new GameObject("SequenceContent").transform;
            sequence._content.hideFlags |= HideFlags.HideInHierarchy;
            sequence._content.parent     = sequence.transform;

            sequence.Add(FContainer.Create(FContainer.DEFAULT_COLOR));

            sequence.Version = FUtility.FLUX_VERSION;

//			sequence.AddGlobalTimeline();

//			sequence.AddCommentTrack();
//			sequence.AddCommentTimeline();

            return(sequence);
        }