C# Class NodeOutput, Killing-Game

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: SNUGDC/Killing-Game Class Usage Examples

Méthodes publiques

Свойство Type Description
body Node,
connections List
nodeID string
rect Rect
type IOtype

Méthodes publiques

Méthode Description
Create ( Node, NodeBody, string OutputName, IOtype type ) : NodeOutput,

Creates a new NodeOutput in NodeBody of specified type

DisplayLayout ( ) : void

Function to automatically draw and update the output with a label for it's name

DisplayLayout ( GUIContent content ) : void

Function to automatically draw and update the output

GetKnob ( ) : Rect

Get the rect of the knob left to the input

OnSave ( ) : void
SetRect ( Rect labelRect ) : void

Set the output rect as labelrect in global canvas space and extend it to the right node edge

Method Details

Create() public static méthode

Creates a new NodeOutput in NodeBody of specified type
public static Create ( Node, NodeBody, string OutputName, IOtype type ) : NodeOutput,
NodeBody Node,
OutputName string
type IOtype
Résultat NodeOutput,

DisplayLayout() public méthode

Function to automatically draw and update the output with a label for it's name
public DisplayLayout ( ) : void
Résultat void

DisplayLayout() public méthode

Function to automatically draw and update the output
public DisplayLayout ( GUIContent content ) : void
content GUIContent
Résultat void

GetKnob() public méthode

Get the rect of the knob left to the input
public GetKnob ( ) : Rect
Résultat Rect

OnSave() public méthode

public OnSave ( ) : void
Résultat void

SetRect() public méthode

Set the output rect as labelrect in global canvas space and extend it to the right node edge
public SetRect ( Rect labelRect ) : void
labelRect Rect
Résultat void

Property Details

body public_oe property

public Node, body
Résultat Node,

connections public_oe property

public List connections
Résultat List

nodeID public_oe property

public string nodeID
Résultat string

rect public_oe property

public Rect rect
Résultat Rect

type public_oe property

public IOtype type
Résultat IOtype