Added GameObject.Null and Enabling/Disabling of Scripts #236
|
@ -54,6 +54,14 @@ namespace SHADE
|
||||||
return GameObject(ENTITY_ID);
|
return GameObject(ENTITY_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*---------------------------------------------------------------------------------*/
|
||||||
|
/* Static Properties */
|
||||||
|
/*---------------------------------------------------------------------------------*/
|
||||||
|
GameObject GameObject::Null::get()
|
||||||
|
{
|
||||||
|
return GameObject();
|
||||||
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------*/
|
||||||
/* Properties */
|
/* Properties */
|
||||||
/*---------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------*/
|
||||||
|
|
|
@ -62,6 +62,17 @@ namespace SHADE
|
||||||
/// <returns>GameObject that has the specified name. Null if not found.</returns>
|
/// <returns>GameObject that has the specified name. Null if not found.</returns>
|
||||||
static System::Nullable<GameObject> Find(System::String^ name);
|
static System::Nullable<GameObject> Find(System::String^ name);
|
||||||
|
|
||||||
|
/*-----------------------------------------------------------------------------*/
|
||||||
|
/* Static Properties */
|
||||||
|
/*-----------------------------------------------------------------------------*/
|
||||||
|
/// <summary>
|
||||||
|
/// Default empty GameObject.
|
||||||
|
/// </summary>
|
||||||
|
static property GameObject Null
|
||||||
|
{
|
||||||
|
GameObject get();
|
||||||
|
}
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------*/
|
||||||
/* Properties */
|
/* Properties */
|
||||||
/*-----------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in New Issue