Adding Trigger Event
Create a box or other 3D Object:
make sure this object has a "Box Collider" set to “IsTrigger”.
Add the “PhoneTrigger” script to that 3D object and add the phone 3D model to the inspector slot named “Phone Model Object”.
Make sure to add the Trigger object to the "Controller" script and tick the boolean to activate
Then set an input key in the "InputManager". Default set to “E”!
Last updated