-
Notifications
You must be signed in to change notification settings - Fork 3
02 Debugging
RoiArthurB edited this page Nov 25, 2024
·
1 revision
A simple way of debugging a program is to use stantard display. You can thus write a message in the Unity console using the "Debug.Log("...")" method.
It is possible to display the content of the console inside the headset using the "Debug Overlay" prefab (in Assets/Ressources/Prefabs/Utils/). For that, put the "Debug Overlay" prefab in your scene. Then, inspect the "Debug Overlay", and add the Main Camera in "Render Camera" (Canvas)
![DebugOverlay](https://private-user-images.githubusercontent.com/1506077/355112722-a3663f79-e9a5-47ca-a682-8d0956d845ff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NDcwNTcsIm5iZiI6MTczOTU0Njc1NywicGF0aCI6Ii8xNTA2MDc3LzM1NTExMjcyMi1hMzY2M2Y3OS1lOWE1LTQ3Y2EtYTY4Mi04ZDA5NTZkODQ1ZmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTUyNTU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGMwMDdiMGViYmViNGYwYzY1ZmM5N2JlOTEyM2RiYzUwNTM2YjU4YzAyYzRlOWZiZGE0OTFiZWZjNWFkZGIzYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.hG4XatVCacP8GoIdAHGQ7ntRBV-z2LSf7e1E3R-r65E)
- Running a VR Experience
- Debugging with VR Headset
- Grabbing objects
- Defining new interactions
- Sending/receiving a message
- Sending attribute values for agents/geometries
- Sending a dem from GAMA
- Managing Water
- Constraining movement of players
- Multi-player games
- Management of agents’ animation
- Complete game with Menus