프로퍼티 | 타입 | 설명 | |
---|---|---|---|
children | List |
||
components | List |
||
foldout | bool | ||
mine | GameObject | ||
parent | ObjectHelper, |
메소드 | 설명 | |
---|---|---|
BubbleRefresh ( ) : void | ||
Copy ( bool toMine ) : void | ||
DestroyAndClearRefs ( |
||
DoRefresh ( ) : IEnumerator | ||
DoRefresh ( OnRefreshComplete onComplete ) : IEnumerator | ||
Draw ( ) : void |
Default draw for drawing the root. Should only be called on root object NOTE: Why is width not 0?
|
|
Draw ( float width ) : void |
Draw this node in the tree.
|
|
ExpandDiffs ( ) : bool | ||
FindComp ( |
||
FindObj ( |
||
FindRefs ( |
||
GetDrawCount ( ) : int | ||
GetObjectSpouse ( GameObject obj, bool isMine ) : GameObject |
Get the spouse (counterpart) of an object within this tree. If the spouse is missing, copy the object and return the copy
|
|
Refresh ( ) : IEnumerable |
Refresh is a very crucial function. Not only does it refresh the abstracted lists of ObjectHelpers and ComponentHelpers to reflect the actual scene, it is responsible for actually comparing objects
|
|
SetFoldoutRecur ( bool state ) : void | ||
UnsetFlagRecursive ( ) : void |
메소드 | 설명 | |
---|---|---|
ComponentIsFiltered ( System type ) : bool | ||
Copy ( GameObject original, bool isMine ) : GameObject |
Do the actual GameObject copy. This is generalized because the process is totally symmetrical. Come to think of it so is the other version of Copy. I can probably merge these back together.
|
|
DrawObject ( bool isMine, float width ) : void | ||
GetObject ( bool isMine ) : GameObject | ||
SameObject ( GameObject mine, GameObject theirs ) : bool |
public DestroyAndClearRefs ( |
||
obj | ||
isMine | bool | |
리턴 | void |
public DoRefresh ( OnRefreshComplete onComplete ) : IEnumerator | ||
onComplete | OnRefreshComplete | |
리턴 | IEnumerator |
public FindComp ( |
||
find | ||
isMine | bool | |
리턴 | ComponentHelper, |
public FindObj ( |
||
find | ||
isMine | bool | |
리턴 | ObjectHelper, |
public FindRefs ( |
||
source | ||
isMine | bool | |
properties | List |
|
리턴 | void |
public GetObjectSpouse ( GameObject obj, bool isMine ) : GameObject | ||
obj | GameObject | The object we're looking for |
isMine | bool | Whether the object came from Mine (left) |
리턴 | GameObject |