Setting Up the Examine System
NAMESPACEMyDreamGameStudio.InteractAnything
MENU PATHTutorials > Examine System
COMPATIBILITYUnity 6.0+
DOC VERSION
In this tutorial, we configure the Examine System, allowing players to pick up, inspect, and rotate 3D objects to uncover hidden details using the Interact Anything framework.
1. Manager and Camera Verification
- Select the Examine Manager in your scene hierarchy. Verify that the Pedestal, Camera, and Collider Interactor are successfully assigned in the inspector.
- Inspect the Examine Camera. Ensure it is using the
Cursor Interactorcomponent. - Configure the
Cursor Interactorsettings to specifically detect objects on theExaminelayer.
2. Object Configuration
- Select your target 3D object in the scene (e.g., a Bell or a Photo Frame).
- Attach the
Interactable Targetcomponent. Set the Interaction Type toInstantand define your UI prompt text (e.g., "Inspect"). - Attach the
Examine Itemcomponent to the exact same object. - Adjust the Drag Sensitivity to ensure the object rotates smoothly when the player drags their mouse.
- In the Interaction Events section, link the
Open Examine Viewevent directly to your interaction trigger.
3. Testing the System
Press Play and walk up to the configured object. Press the interact key. The camera will instantly transition into the Examine view, allowing you to freely rotate the 3D model from every angle using your mouse.