public override Node Create(Vector2 pos) { MultiPathSelectorNode node = CreateInstance <MultiPathSelectorNode>(); node.rect = new Rect(pos.x, pos.y, 300, 100); node.name = "Multi Path Node"; //Previous Node Connections node.CreateInput("Previous Node", "DialogForward", NodeSide.Left, 30); node.SayingCharacterName = "Morgen Freeman"; node.WhatTheCharacterSays = "I'm GOD"; node.SayingCharacterPotrait = null; node.ValueToTest = DialogBlackboard.EDialogMultiChoiceVariables.Random; node._options = new List <DataHolderForOption>(); node.AddNewOption(); return(node); }
public override Node Create(Vector2 pos) { MultiPathSelectorNode node = CreateInstance <MultiPathSelectorNode>(); //node.rect = new Rect(pos.x, pos.y, 300, 100); node.name = "Multi Path Node"; node.rect.position = pos; //Previous Node Connections node.CreateInput("Previous Node", "DialogForward", NodeSide.Left, 30); node.CharacterName = "Character"; node.DialogLine = "Insert dialog text here"; node.CharacterPotrait = null; node.ValueToTest = DialogBlackboard.EDialogMultiChoiceVariables.Random; node._options = new List <DataHolderForOption>(); node.AddNewOption(); return(node); }