Sonic Screwdriver is a utility and productivity package for Unity that aims to make your life easier.
- Auto-collapse inspectors
Automatically collapses all inspectors in the inspector window. - Watch
Displays a debug canvas on screen for fields marked with the[Watch]
Attribute. Supports both screen-space and world-space:
public class Box : MonoBehaviour
{
public Color color;
[Watch] private Vector3 position;
[Watch] private string colorHex;
private void Awake()
{
GetComponent<Renderer>().material.color = color;
colorHex = ColorUtility.ToHtmlStringRGB(color);
}
private void Update()
{
position = transform.position;
}
}
public class ThirdPersonCharacter : MonoBehaviour
{
// ...
[Watch] bool m_IsGrounded;
[Watch] float m_TurnAmount;
[Watch] bool m_Crouching;
// ...
}
[WatchOptions(WatchOptionsAttribute.DisplayType.WorldSpace)]
public class Box : MonoBehaviour {
// ...
}