Table of Contents

Class IObserver

Namespace
VoxelPlayground.Gaming
Assembly
GamePlay.dll
public class IObserver : MonoBehaviour
Inheritance
object
IObserver
Derived
Extension Methods

Fields

interestedEvents

public VoxelEvent[] interestedEvents

Field Value

VoxelEvent[]

Methods

IsEventOfInterest(VoxelEvent)

public bool IsEventOfInterest(VoxelEvent voxelEvent)

Parameters

voxelEvent VoxelEvent

Returns

bool

OnNotify(Entity, VoxelEvent, int, params object[])

public virtual void OnNotify(Entity entity, VoxelEvent voxelEvent, int affectedVoxelCount, params object[] args)

Parameters

entity Entity
voxelEvent VoxelEvent
affectedVoxelCount int
args object[]

Start()

Awake is called when the script instance is being loaded.

public virtual void Start()