I have gone through the whole Evil Lair Tutorial up until you are testing the Use and Look at Interactions on the Lift doors. I have checked to make sure all the setup is identical, but when I click on the lift doors after pressing play in Unity, nothing happens. The two icons for Use and Look at do not appear? Can anybody help please? I have been banging my head against the wall for days trying to figure it out.
Comments
Make sure that your Interaction method (in your Settings Manager) is set to Choose Hotspot Then Interaction. This will allow you to display multiple "Use" interactions on your Hotspot at once.
In order to show these interactions as icons when clicked, you need to have a Menu that displays these. The default Menu system comes with one ready-made: the Interaction Menu. Open up your Menu Manager and check that one exists. If it doesn't, revert back to the Demo_MenuManager asset file so that you can temporarily rely on the demo game's UI, which should work. You can copy the Interaction Menu from there into your own Menu Manager asset file if need be.
The Lift Animator conditions are set to 0, 1 and 2 and are called in the Object: Animate node in the Action List Editor ( I forgot to specify "State" in the Parameter to effect slot, which I have now corrected).
I checked to make sure I have "choose hotspot then interaction" selected in the settings manager , so I do see the gear and magnifying glass icons when the cursor is over the lift doors.
I went through my actions list and found that my Object: Send Message node was disconnected, so I connected it.
I've saved and quit Unity , just in case there was an issue with Unity.
I will post any screenshots deemed relevant, but I can't think of where to turn to at this point. Im using Unity 5.3.4f1 Personal on Mac OS 10.11 using AC 1.51g.
Thanks ,
John
Try running the game and adding an Engine: End game Action to the list of Actions, then run it manually. If the game ends, we can rule out the Interaction not working - in which case, it's going to be down to the Object: Animate Action. If so, make sure you aren't getting any errors in the Console, and that your animations are being correctly triggered by the Action - if you post screenshots of the Action and the Mecanim controller, we may be able to advise further.
Running the game, and in the ActionList Editor, clicking Run Now, which activates the Action list and performs the specified task successfully (switching to camera LiftCam, opening lift doors, walking to Inside Lift Marker, closing door, fading to black and ending/quitting game. ).
I just realized it may be a problem with the cursor. During game play, there is a circular cursor in the game window, and a regular cursor that trails it, at an offset distance . I was successful in activating the Lift Doors: Use Interaction once, but I'm not having luck doing it again.
(Also I've noticed that the lighting changes if I select "Engine: End Game: Restart Game" in the last node of the Action List. It starts out with the default look then appears to reflect my modified lighting setup after it cycles through a Run Now and Restart Game loop.)
Normally I'm not getting any errors in the console, only a "PlayerPrefs Key 'AC_My_3D_Game_0' loaded" message. But this one just popped up in Maximize on Play mode: "Invalid editor window UnityEditor.EditorApplicationLayout:FinalizePlaymodeLayout()"
Which Mechanim and Action controller screenshots should I post? I have included one of the LiftDoorsShut transition, if that helps (I don't understand which controllers you want to see, sorry!)
Can you advise me on troubleshooting the Object: Animate Action ?
Thanks
John
Thanks
John
So glad to be back on track!
Thanks again
John