Ejemplo n.º 1
0
        public override TStack OnSceneGUI(TStack element)
        {
            var collection = new StackCollection <T>(element);

            collection = (StackCollection <T>)ActualEditor.OnSceneGUI(collection);
            return((TStack)collection.Stack);
        }
Ejemplo n.º 2
0
        public override TStack Edit(Rect region, GUIContent label, TStack element, fiGraphMetadata metadata)
        {
            var collection = new StackCollection <T>(element);

            collection = (StackCollection <T>)ActualEditor.Edit(region, label, collection, metadata);
            return((TStack)collection.Stack);
        }
Ejemplo n.º 3
0
        public override float GetElementHeight(GUIContent label, TStack element, fiGraphMetadata metadata)
        {
            var collection = new StackCollection <T>(element);

            return(ActualEditor.GetElementHeight(label, collection, metadata));
        }