Link Search Menu Expand Document

SceneReferenceHandler

Montebearo.Discourse.SceneReferenceHandler<TLookup, TComponent> : MonteBehaviour, ISceneReferenceHandler<TComponent>

A concrete implementation of the ISceneReferenceHandler interfaces. This behaviour allows you to retrieve scene references of Unity Objects via a unique string Id at runtime. These components should be attached to the EventBehaviour.

When the ‘UpdateReferenceHandlers’ method is called via the EventBehaviour’s context menu, it retrieves all ISceneReferenceHandler components on the object and syncs them with the reference lists of the Entry node of the current Event. Lists of these Id references should be stored in an ISceneReferenceInfoList.