Class AxisSpawnerExtension
This class can be inherited to create your custom code component overriding protected methods that connects this to the ObjActionTarget component in the same GameObject.
Inherited Members
Namespace: Axis.Extensions
Assembly: cs.temp.dll.dll
Syntax
public abstract class AxisSpawnerExtension : AxisExtension
Methods
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnSpawnChild(Transform)
Dispatched whenever the spawner spawns one of its children
Declaration
protected virtual void OnSpawnChild(Transform spawned)
Parameters
Type | Name | Description |
---|---|---|
Transform | spawned |
OnSpawnedObjectBroke(ObjBreakable)
Dispatched whenever a spawned object by this spawner has been broken
Declaration
protected virtual void OnSpawnedObjectBroke(ObjBreakable breakable)
Parameters
Type | Name | Description |
---|---|---|
ObjBreakable | breakable |
OnSpawnedObjectCollected(ObjCollectable)
Dispatched whenever a spawned object by this spawner has been collected
Declaration
protected virtual void OnSpawnedObjectCollected(ObjCollectable collectable)
Parameters
Type | Name | Description |
---|---|---|
ObjCollectable | collectable |
OnSpawnEnable()
Dispatched whenever the spawner becomes active and enabled
Declaration
protected virtual void OnSpawnEnable()
OnSpawnInNavObjectTile(NavObject)
Dispatched whenever the spawner has spawned in a tile occupied by another NavObject
Declaration
protected virtual void OnSpawnInNavObjectTile(NavObject navObjectInTile)
Parameters
Type | Name | Description |
---|---|---|
NavObject | navObjectInTile |