Exemplo n.º 1
0
        public override Node Create(Vector2 pos)
        {
            AutomaticLerp node = ScriptableObject.CreateInstance <AutomaticLerp>();

            node.name = "Automatic Lerp";
            node.rect = new Rect(pos.x, pos.y, 172, 210);

            node.CreateInput("RGBA", "SuperFloat4");
            node.CreateInput("RGBA", "SuperFloat4");
            node.CreateOutput("RGBA", "SuperFloat4");

            return(node);
        }