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

            node.name = "Generate RGBA Shape";
            node.rect = new Rect(pos.x, pos.y, 172, 450);

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

            return(node);
        }