Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Captain02Rex/DebugScopes

Repository files navigation

Debug Scopes

Create and view your variables as a graph in a custom editor window!

Example Usage

private DebugScope debugScope;
private DebugChannel channel1;
private DebugChannel channel2;

private float time = 0;
[SerializeField] private float wave1 = 5;
[SerializeField] private float wave2 = 5;

void Start()
{
debugScope = new("Test Scope", 0, 10, 200);
channel1 = debugScope.CreateChannel("Sine", Color.red);
channel2 = debugScope.CreateChannel("Cosine", Color.yellow);
}

void Update()
{
time += Time.deltaTime;
wave1 = 5 * Mathf.Sin(time) + 5;
wave2 = 5 * Mathf.Cos(time) + 5;

channel1.Sample(wave1);
channel2.Sample(wave2);
}

About

No description, website, or topics provided.

Resources

Readme

License

View license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages