- Home /
Items collected and cutscene
Good day to everyone,
I have created 7 scenes and in each scene the player must gather 7 items. How can I script this so that whenever he gathers an item, it can be displayed in the GUI (e.g 1/7,2/7) and upon reaching 7/7 to have a camera zoom in at the exit door which will be shown opening ?
(Using a first person controller camera, and have added a sphere collider with an is trigger for the items)
Answer by sooncat · May 17, 2012 at 10:10 AM
try this: add an script on the item and add code in "OnTriggerEnter" function to 1.draw nums onGUI. 2.if collected all item then freeze controller and move the camera to door. 3.destroy the item
Your answer
Follow this Question
Related Questions
How to make a selection list using either GUI system? 0 Answers
Equipting a Item/Weapon 1 Answer
GUI.Window write elements by pages 0 Answers
Pick Up like in Silent Hill 1 Answer
cut scence 1 Answer