public static void Watch(MonoBehaviour owner, string name, bool boolValue) { JollyDebug self = JollyDebug.Instance; self.GetExpressionsForOwner(owner).GetExpression(name).SetLastValue(boolValue); }
public static void Watch(MonoBehaviour owner, string name, System.Func <bool> returnsBool) { JollyDebug self = JollyDebug.Instance; self.GetExpressionsForOwner(owner).Add(new Expression(name, returnsBool)); }