Esempio n. 1
0
        //---[Loading]--------------------------------------------------------------------------------------------------/

        public void Load(Sequencer sequencer, SerializedObject serializedObject)
        {
            id = sequencer.GetInstanceID();
            this.serializedObject = serializedObject;

            var serializedProperty = serializedObject.GetIterator();

            serializedProperty.Next(true);
            for (var i = 0; i < 10; i++)
            {
                serializedProperty.Next(false);
            }
            rootProperty = serializedProperty.Copy();

            CreateRootNode();

            serializedProperty.Next(false);
            arrayProperty = serializedProperty.Copy();

            FetchNodes();
            FrameAll();
        }