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

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Register(
	GameObject gameObject,
	string name = null
)

Parameters

gameObject
Type: GeonBit.ECSGameObject
GameObject to register as a prototype (note: instance will not be affected, it will be cloned).
name (Optional)
Type: SystemString
Name from prototype. If not defined, will use GameObject name.
See Also