void showMenu (Hotspot _hotspot, AC.Button _button){
Debug.Log ("Hotspot clicked : " + _hotspot);
Menu myMenu = AC.PlayerMenus.GetMenuWithName ("My Menu");
myMenu.TurnOn (); <- this line throws the error
}
private void OnEnable(){
EventManager.OnHotspotInteract += showMenu;
}
private void OnDisable(){
EventManager.OnHotspotInteract -= showMenu;
}


It looks like you're new here. If you want to get involved, click one of these buttons!
Comments