Class MapUnityInputSource
- Namespace
- LansMap.Interaction
Drives a map from Unity's own mouse, keyboard and touch. Added automatically unless you supply your own input source.
[AddComponentMenu("LansMap/Map Unity Input Source")]
public sealed class MapUnityInputSource : MapInputSourceComponent
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourMapUnityInputSource
- Inherited Members
Properties
Source
The device this component answers with. Polled every frame once the map has taken it, so it must not allocate.
public override IMapInputSource Source { get; }