EntityTypeExpectations Class

Namespace: Improbable.Gdk.GameObjectCreationSource

Holds mappings from entity types to the set of components expected before creating their GameObjects.


Methods

RegisterDefault Source
void RegisterDefault(IEnumerable<Type> defaultComponentTypes = null)

Parameters
  • IEnumerable<Type> defaultComponentTypes :

RegisterEntityType Source
void RegisterEntityType(string entityType, IEnumerable<Type> expectedComponentTypes = null)

Parameters
  • string entityType :
  • IEnumerable<Type> expectedComponentTypes :

Updated about a year ago


EntityTypeExpectations Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.