Class IObserver
- Namespace
- VoxelPlayground.Gaming
- Assembly
- GamePlay.dll
public class IObserver : MonoBehaviour
- Inheritance
-
objectIObserver
- Derived
- Extension Methods
Fields
interestedEvents
public VoxelEvent[] interestedEvents
Field Value
Methods
IsEventOfInterest(VoxelEvent)
public bool IsEventOfInterest(VoxelEvent voxelEvent)
Parameters
voxelEventVoxelEvent
Returns
- bool
OnNotify(Entity, VoxelEvent, int, params object[])
public virtual void OnNotify(Entity entity, VoxelEvent voxelEvent, int affectedVoxelCount, params object[] args)
Parameters
entityEntityvoxelEventVoxelEventaffectedVoxelCountintargsobject[]
Start()
Awake is called when the script instance is being loaded.
public virtual void Start()