Table of Contents

Class MapInputSourceComponent

Attach a subclass to a map to feed it mouse, keyboard and touch from your own input stack instead of Unity's.

public abstract class MapInputSourceComponent : MapComponentBase
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
MapInputSourceComponent
Derived
Inherited Members

Remarks

Source is read once per map, on the first frame anything asks the map for its input, and the map holds that instance for its lifetime.

Properties

Source

The device this component answers with. Polled every frame once the map has taken it, so it must not allocate.

public abstract IMapInputSource Source { get; }

Property Value

IMapInputSource