Falco Engine 3.9.0.1 (beta)
FalcoEngine.MonoBehaviour Class Reference
Inheritance diagram for FalcoEngine.MonoBehaviour:
FalcoEngine.Component

Public Member Functions

GetComponent< T > ()
 Return component by type More...
 
void Destroy (GameObject gameObject)
 Destroy game object More...
 
void Destroy (Component component)
 Destroy component More...
 

Static Public Member Functions

static T FindObjectOfType< T > (bool findInactive=true)
 Find object of type More...
 
static T[] FindObjectsOfType< T > (bool findInactive=true)
 Find objects of type More...
 

Protected Member Functions

 MonoBehaviour ()
 
- Protected Member Functions inherited from FalcoEngine.Component
 Component ()
 

Properties

string name [get]
 Game object's name More...
 
string uniqueName [get]
 Game object's unique name (UID) More...
 
Transform transform [get]
 Transform component More...
 
Rigidbody rigidbody [get]
 Rigidbody component More...
 
Animation animation [get]
 Animation component More...
 
AudioSource audioSource [get]
 AudioSource component More...
 
NavMeshAgent navMeshAgent [get]
 NavMeshAgent component More...
 
Component[] components [get]
 Return an array of all game object's components More...
 
- Properties inherited from FalcoEngine.Component
bool enabled [getset]
 Enable or disable this component More...
 
GameObject gameObject [get]
 Get game object at which this component is attached More...
 
bool isUiComponent [get]
 Returns if this component is derived from UIElement (or this is a canvas) or not More...
 

Detailed Description

Definition at line 18 of file MonoBehaviour.cs.

Constructor & Destructor Documentation

◆ MonoBehaviour()

FalcoEngine.MonoBehaviour.MonoBehaviour ( )
protected

Definition at line 22 of file MonoBehaviour.cs.

Member Function Documentation

◆ Destroy() [1/2]

void FalcoEngine.MonoBehaviour.Destroy ( Component  component)

Destroy component

Parameters
component

Definition at line 110 of file MonoBehaviour.cs.

◆ Destroy() [2/2]

void FalcoEngine.MonoBehaviour.Destroy ( GameObject  gameObject)

Destroy game object

Parameters
gameObject

Definition at line 101 of file MonoBehaviour.cs.

◆ FindObjectOfType< T >()

static T FalcoEngine.MonoBehaviour.FindObjectOfType< T > ( bool  findInactive = true)
static

Find object of type

Template Parameters
T
Returns

Definition at line 82 of file MonoBehaviour.cs.

◆ FindObjectsOfType< T >()

static T[] FalcoEngine.MonoBehaviour.FindObjectsOfType< T > ( bool  findInactive = true)
static

Find objects of type

Template Parameters
T
Returns

Definition at line 92 of file MonoBehaviour.cs.

◆ GetComponent< T >()

T FalcoEngine.MonoBehaviour.GetComponent< T > ( )

Return component by type

Template Parameters
T
Returns

Definition at line 72 of file MonoBehaviour.cs.

Property Documentation

◆ animation

Animation FalcoEngine.MonoBehaviour.animation
get

Animation component

Definition at line 50 of file MonoBehaviour.cs.

◆ audioSource

AudioSource FalcoEngine.MonoBehaviour.audioSource
get

AudioSource component

Definition at line 55 of file MonoBehaviour.cs.

◆ components

Component [] FalcoEngine.MonoBehaviour.components
get

Return an array of all game object's components

Definition at line 65 of file MonoBehaviour.cs.

◆ name

string FalcoEngine.MonoBehaviour.name
get

Game object's name

Definition at line 30 of file MonoBehaviour.cs.

◆ navMeshAgent

NavMeshAgent FalcoEngine.MonoBehaviour.navMeshAgent
get

NavMeshAgent component

Definition at line 60 of file MonoBehaviour.cs.

◆ rigidbody

Rigidbody FalcoEngine.MonoBehaviour.rigidbody
get

Rigidbody component

Definition at line 45 of file MonoBehaviour.cs.

◆ transform

Transform FalcoEngine.MonoBehaviour.transform
get

Transform component

Definition at line 40 of file MonoBehaviour.cs.

◆ uniqueName

string FalcoEngine.MonoBehaviour.uniqueName
get

Game object's unique name (UID)

Definition at line 35 of file MonoBehaviour.cs.


The documentation for this class was generated from the following file: