Example #1
0
    public override Node Create(Vector2 pos)
    {
        Splatter node = CreateInstance <Splatter> ();

        node.rect = new Rect(pos.x, pos.y, 250, 340);
        node.name = "Op";
        node.CreateInput("Texture", "TextureParam", NodeSide.Left, 50);
        node.CreateOutput("Texture", "TextureParam", NodeSide.Right, 50);

        return(node);
    }