You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IDGenerator class provides static methods for generating unique integer IDs for GameObjects or other entities. This is useful for assigning unique identifiers to objects in the engine.
/** * Generates and returns a unique integer ID. * @return Unique integer ID (auto-incremented) */publicstaticintgenerateUniqueID()
/** * Resets the ID counter to zero. */publicstaticvoidresetIDCounter()