More additional action hints
Sometimes you may need more that only primary and secondary input for your action script. For next example, script have additional inputs for Zoom and Rotation,

For this, you need to override method GetInputHints
:
public override List<InteractionHintData> GetInputHints()
{
return new List<InteractionHintData>()
{
new InteractionHintData(HintType.ZOOM, "Zoom"),
new InteractionHintData(HintType.ROTATE, "Rotate"),
};
}
Then, you can handle your input in any mode.
Last updated