Unwatching Variables

Unwatching Variables

There may come a time when you no longer need to monitor a particular variable. Perhaps you're done troubleshooting that area of your game, or the data the variable provides is no longer needed. Whatever the case may be, Jahro allows you to discontinue tracking these variables.

You can stop watching all variables of an object by using the UnregisterObject method:

Jahro.UnregisterObject(this);

In this case, all watched variables related to the this object will be removed from the Watcher Mode. So if the variable you want to stop watching is part of the object you're unregistering, it will no longer be tracked.