Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Problems creating an extension

Discussion in 'EditorXR' started by deprecatedcoder, Dec 18, 2016.

  1. deprecatedcoder


    May 18, 2015
    I'm trying to work on a Tool and started by basically duplicating BlinkLocomotionTool, but when I run the Editor, the Action Map for the Tool is not being populated.

    From what I can tell, when CreateActionMapInput() is called, map is not null for the Tool I made, but it is blank, whereas the blink one contains "BlinkLocomotion (UnityEngine.InputNew.ActionMap)".

    I'm not sure if I'm missing something obvious here or what, but any help would sure be appreciated.
  2. amirebrahimi_unity


    Unity Technologies

    Aug 12, 2015
    We haven't hooked up swapping out locomotion tools just yet, but we designed it to be able to do that. We didn't have time to craft the customization menus for EditorVR as a whole before release, so know that it is coming. This will also allow you to swap out the SelectionTool if you want to use your own gizmos, etc.

    For the time-being you can make your tool an exclusive mode tool, which will turn off the default locomotion by implementing IExclusiveMode.