Property | Type | Description | |
---|---|---|---|
children | List |
||
components | List |
||
foldout | bool | ||
mine | GameObject | ||
parent | ObjectHelper, |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | void |
public DoRefresh ( OnRefreshComplete onComplete ) : IEnumerator | ||
onComplete | OnRefreshComplete | |
return | IEnumerator |
public FindComp ( |
||
find | ||
isMine | bool | |
return | ComponentHelper, |
public FindObj ( |
||
find | ||
isMine | bool | |
return | ObjectHelper, |
public FindRefs ( |
||
source | ||
isMine | bool | |
properties | List |
|
return | 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) |
return | GameObject |