class GameObjectDirectory

book_4_sparkGenerated
code_blocksInput

Description

The GameObjectDirectory class in the Sandbox namespace is responsible for managing the registration and unregistration of GameObjects and Components within a scene. It ensures unique identification of these objects and provides efficient lookup capabilities by their IDs.

Members

Instance Members

Member NameSummary
FindComponentByGuidFind a Component in the scene by Guid. This should be really really fast.
FindByGuidFind a GameObject in the scene by Guid. This should be really really fast.
FindByNameFind objects with this name. Not performant.
CountGets the total count of registered objects.
GameObjectCountGets the count of registered GameObjects.
ComponentCountGets the count of registered Components.