Click or drag to resize
PrototypesRegister Method (GameObjectGenerator, String)
Register a prototype from a function to generate a GameObject.

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Register(
	GameObjectGenerator generator,
	string name
)

Parameters

generator
Type: GeonBit.ManagersGameObjectGenerator
A function to return a new GameObject instance.
name
Type: SystemString
Name from prototype.
See Also