Definition at line 8 of file GameObject.cs.
◆ GameObject()
FalcoEngine.GameObject.GameObject |
( |
| ) |
|
Create new empty game object
◆ AddComponent< T >()
T FalcoEngine.GameObject.AddComponent< T > |
( |
| ) |
|
Create new component of type T and attach it to this game object
- Template Parameters
-
- Returns
Definition at line 95 of file GameObject.cs.
◆ Clone()
Create a copy of this game object
- Returns
◆ Find()
static GameObject FalcoEngine.GameObject.Find |
( |
string |
name | ) |
|
|
static |
Find game object by name. If scene has multiple game objects with the same name, the first will be returned
- Parameters
-
- Returns
Definition at line 112 of file GameObject.cs.
◆ GetByUniqueName()
static GameObject FalcoEngine.GameObject.GetByUniqueName |
( |
string |
name | ) |
|
|
static |
Return game object by it's unique name (UID)
- Parameters
-
- Returns
Definition at line 122 of file GameObject.cs.
◆ GetComponent< T >()
T FalcoEngine.GameObject.GetComponent< T > |
( |
| ) |
|
Return component by type
- Template Parameters
-
- Returns
Definition at line 85 of file GameObject.cs.
◆ active
bool FalcoEngine.GameObject.active |
|
get |
Return true if game object enabled self and all of it's parents are enabled too
Definition at line 38 of file GameObject.cs.
◆ animation
◆ audioSource
◆ components
Component [] FalcoEngine.GameObject.components |
|
get |
Return an array of all game object's components
Definition at line 78 of file GameObject.cs.
◆ enabled
bool FalcoEngine.GameObject.enabled |
|
getset |
Get or set game object enabled state
Definition at line 33 of file GameObject.cs.
◆ layer
int FalcoEngine.GameObject.layer |
|
getset |
◆ name
string FalcoEngine.GameObject.name |
|
get |
◆ navMeshAgent
◆ rigidbody
◆ tag
string FalcoEngine.GameObject.tag |
|
getset |
◆ transform
◆ uniqueName
string FalcoEngine.GameObject.uniqueName |
|
get |
Return game object unique name (UID)
Definition at line 28 of file GameObject.cs.
The documentation for this class was generated from the following file: