class GameObjectDirectory

in global :: Sandbox

New GameObjects and Components are registered with this class when they're created, and unregistered when they're removed. This gives us a single place to enforce Id uniqueness in the scene, and allows for fast lookups by Id.


public Component FindComponentByGuid( Guid guid )

Find a Component in the scene by Guid. This should be really really fast.

public GameObject FindByGuid( Guid guid )

Find a GameObject in the scene by Guid. This should be really really fast.

public IEnumerable<GameObject> FindByName( string name, bool caseinsensitive = True )

Find objects with this name. Not performant.

public int Count { get; }

😔 No documentation found.

public int GameObjectCount { get; }

😔 No documentation found.

public int ComponentCount { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.