C# Class UnityEngine.GameObject

Exibir arquivo Open project: randomize/VimConfig Class Usage Examples

Private Properties

Property Type Description
GetComponentByName Component
GetComponentsInternal UnityEngine.Component[]
Internal_AddComponentWithType Component
Internal_CreateGameObject void

Public Methods

Method Description
AddComponent ( Type componentType ) : Component
AddComponent ( string className ) : Component
AddComponent ( ) : T
BroadcastMessage ( string methodName ) : void
BroadcastMessage ( string methodName, SendMessageOptions options ) : void
BroadcastMessage ( string methodName, System parameter ) : void
BroadcastMessage ( string methodName, System parameter, SendMessageOptions options ) : void
CompareTag ( string tag ) : bool
CreatePrimitive ( PrimitiveType type ) : GameObject
Find ( string name ) : GameObject
FindGameObjectWithTag ( string tag ) : GameObject
FindGameObjectsWithTag ( string tag ) : UnityEngine.GameObject[]
FindWithTag ( string tag ) : GameObject
GameObject ( )
GameObject ( string name )
GameObject ( string name, Type components )
GetComponent ( Type type ) : Component
GetComponent ( string type ) : Component
GetComponent ( ) : T
GetComponentInChildren ( Type type ) : Component
GetComponentInChildren ( ) : T
GetComponents ( Type type ) : UnityEngine.Component[]
GetComponents ( ) : T[]
GetComponentsInChildren ( Type type ) : UnityEngine.Component[]
GetComponentsInChildren ( Type type, bool includeInactive ) : UnityEngine.Component[]
GetComponentsInChildren ( ) : T[]
GetComponentsInChildren ( bool includeInactive ) : T[]
PlayAnimation ( AnimationClip animation ) : void
SampleAnimation ( AnimationClip animation, float time ) : void
SendMessage ( string methodName ) : void
SendMessage ( string methodName, SendMessageOptions options ) : void
SendMessage ( string methodName, System value ) : void
SendMessage ( string methodName, System value, SendMessageOptions options ) : void
SendMessageUpwards ( string methodName ) : void
SendMessageUpwards ( string methodName, SendMessageOptions options ) : void
SendMessageUpwards ( string methodName, System value ) : void
SendMessageUpwards ( string methodName, System value, SendMessageOptions options ) : void
SetActive ( bool value ) : void
SetActiveRecursively ( bool state ) : void
StopAnimation ( ) : void

Private Methods

Method Description
GetComponentByName ( string type ) : Component
GetComponentsInternal ( Type type, bool isGenericTypeArray, bool recursive, bool includeInactive ) : UnityEngine.Component[]
Internal_AddComponentWithType ( Type componentType ) : Component
Internal_CreateGameObject ( GameObject mono, string name ) : void

Method Details

AddComponent() public method

public AddComponent ( Type componentType ) : Component
componentType System.Type
return Component

AddComponent() public method

public AddComponent ( string className ) : Component
className string
return Component

AddComponent() public method

public AddComponent ( ) : T
return T

BroadcastMessage() public method

public BroadcastMessage ( string methodName ) : void
methodName string
return void

BroadcastMessage() public method

public BroadcastMessage ( string methodName, SendMessageOptions options ) : void
methodName string
options SendMessageOptions
return void

BroadcastMessage() public method

public BroadcastMessage ( string methodName, System parameter ) : void
methodName string
parameter System
return void

BroadcastMessage() public method

public BroadcastMessage ( string methodName, System parameter, SendMessageOptions options ) : void
methodName string
parameter System
options SendMessageOptions
return void

CompareTag() public method

public CompareTag ( string tag ) : bool
tag string
return bool

CreatePrimitive() public static method

public static CreatePrimitive ( PrimitiveType type ) : GameObject
type PrimitiveType
return GameObject

Find() public static method

public static Find ( string name ) : GameObject
name string
return GameObject

FindGameObjectWithTag() public static method

public static FindGameObjectWithTag ( string tag ) : GameObject
tag string
return GameObject

FindGameObjectsWithTag() public static method

public static FindGameObjectsWithTag ( string tag ) : UnityEngine.GameObject[]
tag string
return UnityEngine.GameObject[]

FindWithTag() public static method

public static FindWithTag ( string tag ) : GameObject
tag string
return GameObject

GameObject() public method

public GameObject ( )

GameObject() public method

public GameObject ( string name )
name string

GameObject() public method

public GameObject ( string name, Type components )
name string
components System.Type

GetComponent() public method

public GetComponent ( Type type ) : Component
type System.Type
return Component

GetComponent() public method

public GetComponent ( string type ) : Component
type string
return Component

GetComponent() public method

public GetComponent ( ) : T
return T

GetComponentInChildren() public method

public GetComponentInChildren ( Type type ) : Component
type System.Type
return Component

GetComponentInChildren() public method

public GetComponentInChildren ( ) : T
return T

GetComponents() public method

public GetComponents ( Type type ) : UnityEngine.Component[]
type System.Type
return UnityEngine.Component[]

GetComponents() public method

public GetComponents ( ) : T[]
return T[]

GetComponentsInChildren() public method

public GetComponentsInChildren ( Type type ) : UnityEngine.Component[]
type System.Type
return UnityEngine.Component[]

GetComponentsInChildren() public method

public GetComponentsInChildren ( Type type, bool includeInactive ) : UnityEngine.Component[]
type System.Type
includeInactive bool
return UnityEngine.Component[]

GetComponentsInChildren() public method

public GetComponentsInChildren ( ) : T[]
return T[]

GetComponentsInChildren() public method

public GetComponentsInChildren ( bool includeInactive ) : T[]
includeInactive bool
return T[]

PlayAnimation() public method

public PlayAnimation ( AnimationClip animation ) : void
animation AnimationClip
return void

SampleAnimation() public method

public SampleAnimation ( AnimationClip animation, float time ) : void
animation AnimationClip
time float
return void

SendMessage() public method

public SendMessage ( string methodName ) : void
methodName string
return void

SendMessage() public method

public SendMessage ( string methodName, SendMessageOptions options ) : void
methodName string
options SendMessageOptions
return void

SendMessage() public method

public SendMessage ( string methodName, System value ) : void
methodName string
value System
return void

SendMessage() public method

public SendMessage ( string methodName, System value, SendMessageOptions options ) : void
methodName string
value System
options SendMessageOptions
return void

SendMessageUpwards() public method

public SendMessageUpwards ( string methodName ) : void
methodName string
return void

SendMessageUpwards() public method

public SendMessageUpwards ( string methodName, SendMessageOptions options ) : void
methodName string
options SendMessageOptions
return void

SendMessageUpwards() public method

public SendMessageUpwards ( string methodName, System value ) : void
methodName string
value System
return void

SendMessageUpwards() public method

public SendMessageUpwards ( string methodName, System value, SendMessageOptions options ) : void
methodName string
value System
options SendMessageOptions
return void

SetActive() public method

public SetActive ( bool value ) : void
value bool
return void

SetActiveRecursively() public method

public SetActiveRecursively ( bool state ) : void
state bool
return void

StopAnimation() public method

public StopAnimation ( ) : void
return void