메소드 | 설명 | |
---|---|---|
CreateGPActionObject ( GameObject parentObj ) : GameObject |
Creates a default GPActionObject if not existing. Returns the created GameObject or the existing GPActionObject
|
|
DestroyGPActionObject ( GameObject parentObj ) : void |
Destroys an GPActionObject
|
|
GetGPActionObject ( GameObject parentObj ) : GameObject |
Returns the attached GPActionObject if any
|
|
GetGPActionObjectMapper ( GameObject parentObj ) : ActionTool.GPActionObjectMapper |
Returns the attached GPActionObjectMapper if any
|
|
GetGPActionObjectMapperOrCreate ( GameObject parentObj ) : ActionTool.GPActionObjectMapper |
Returns the GPActionObjectMapper attached to the specified GameObject if any. Otherwise creates a GPActionObject it and return the newly created GPActionObjectMapper;
|
|
GetGPActionObjectOrCreate ( GameObject parentObj ) : GameObject |
Returns the GPActionObject attached to the specified GameObject if any. Otherwise creates it and return the newly created GPActionObject;
|
|
HasGPActionObject ( GameObject parentObj ) : bool |
Returns whether or not the specified gameobject has a GPActionObject attached
|
|
InitGPActionObject ( GameObject gpactionParent, GameObject gpactionObj ) : void |
Init a GameObject owner GPAction (a so-called "GPActionObject"). That is, the object is hid in the hierarchy and parent transform is set to parent gameobject
|
public static CreateGPActionObject ( GameObject parentObj ) : GameObject | ||
parentObj | GameObject | |
리턴 | GameObject |
public static DestroyGPActionObject ( GameObject parentObj ) : void | ||
parentObj | GameObject | |
리턴 | void |
public static GetGPActionObject ( GameObject parentObj ) : GameObject | ||
parentObj | GameObject | |
리턴 | GameObject |
public static GetGPActionObjectMapper ( GameObject parentObj ) : ActionTool.GPActionObjectMapper | ||
parentObj | GameObject | |
리턴 | ActionTool.GPActionObjectMapper |
public static GetGPActionObjectMapperOrCreate ( GameObject parentObj ) : ActionTool.GPActionObjectMapper | ||
parentObj | GameObject | |
리턴 | ActionTool.GPActionObjectMapper |
public static GetGPActionObjectOrCreate ( GameObject parentObj ) : GameObject | ||
parentObj | GameObject | |
리턴 | GameObject |
public static HasGPActionObject ( GameObject parentObj ) : bool | ||
parentObj | GameObject | |
리턴 | bool |
public static InitGPActionObject ( GameObject gpactionParent, GameObject gpactionObj ) : void | ||
gpactionParent | GameObject | |
gpactionObj | GameObject | |
리턴 | void |