C# 클래스 NodeOutput, Killing-Game

상속: UnityEngine.ScriptableObject
파일 보기 프로젝트 열기: SNUGDC/Killing-Game 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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