Example #1
0
        public static void Watch(MonoBehaviour owner, string name, bool boolValue)
        {
            JollyDebug self = JollyDebug.Instance;

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

            self.GetExpressionsForOwner(owner).Add(new Expression(name, returnsBool));
        }