7
2020
Find out which script Disabled or Enabled this GameObject?
Small script to help tracking who disabled or enabled gameobject,
https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Helpers/Debug/WhoDisabledOrEnabled.cs
Usage:
– Add script to the gameobject you need to track
– press play
– see console for the error messages, select the error message row, and see stack trace for the calling script names and lines.
Related Posts
1 Comment + Add Comment
Leave a comment
Recent posts
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI
- QR Code Generator Online
Why doesn’t unity team take script made through the github to add as standard scripts for users.