C# Класс NodeOutput, Killing-Game

Наследование: UnityEngine.ScriptableObject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
body Node,
connections List
nodeID string
rect Rect
type IOtype

Открытые методы

Метод Описание
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

Описание методов

Create() публичный статический Метод

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
Результат NodeOutput,

DisplayLayout() публичный Метод

Function to automatically draw and update the output with a label for it's name
public DisplayLayout ( ) : void
Результат void

DisplayLayout() публичный Метод

Function to automatically draw and update the output
public DisplayLayout ( GUIContent content ) : void
content GUIContent
Результат void

GetKnob() публичный Метод

Get the rect of the knob left to the input
public GetKnob ( ) : Rect
Результат Rect

OnSave() публичный Метод

public OnSave ( ) : void
Результат void

SetRect() публичный Метод

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
Результат void

Описание свойств

body публичное свойство

public Node, body
Результат Node,

connections публичное свойство

public List connections
Результат List

nodeID публичное свойство

public string nodeID
Результат string

rect публичное свойство

public Rect rect
Результат Rect

type публичное свойство

public IOtype type
Результат IOtype