UnityToolbox
Brief documentation for all existing scripts.
 
Loading...
Searching...
No Matches
GamestateNode Class Reference

The node which is used within the gamestate graph.

Inheritance diagram for GamestateNode:

Public Member Functions

 GamestateNode (GamestateNodeData data)
 Creates a new node based on a DialogNodeData.
 
 GamestateNode (Vector2 position, int id)
 Creates a node based with a given position within the graph and a given id .
 
void Draw ()
 Creates all relevant UI elements to display its data.
 
void UpdateValues ()
 Updates all variables with the data written within the dialog node UI elements.
 

Properties

string GamestateName [get, set]
 
int ID [get]
 
List< int > InputIDs [get]
 
List< int > OutputIDs [get]
 
Port InputPort [get]
 
Port OutputPort [get]
 

Constructor & Destructor Documentation

◆ GamestateNode() [1/2]

◆ GamestateNode() [2/2]

GamestateNode.GamestateNode ( Vector2  position,
int  id 
)
Parameters
position
id

Member Function Documentation

◆ Draw()

void GamestateNode.Draw ( )

◆ UpdateValues()

void GamestateNode.UpdateValues ( )

Property Documentation

◆ GamestateName

string GamestateNode.GamestateName
getset

◆ ID

int GamestateNode.ID
get

◆ InputIDs

List<int> GamestateNode.InputIDs
get

◆ InputPort

Port GamestateNode.InputPort
get

◆ OutputIDs

List<int> GamestateNode.OutputIDs
get

◆ OutputPort

Port GamestateNode.OutputPort
get