FANDOM


This is useful if you want to simulate traditional console style controls, which usually have an Accept and a Cancel buttons. note however that you will need to create the extra Input in your input manager to get the script to work. Add the following code to a C# script (the basic Unity script template):

void Update ()
{
  // This simply adds Cancel Functionality
  if (Input.GetButtonDown ("Cancel"))
  {
    // De-select the current Hotspot
    AC.KickStarter.playerInteraction.DeselectHotspot ();
    // Close the Interaction menu(s)
    AC.KickStarter.playerMenus.SetInteractionMenus (false);
  }
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.