There was an error while loading. Please reload this page.
1 parent 833ecdf commit 119d462Copy full SHA for 119d462
Assets/Scripts/BehaviorTree/Base/Node.cs
@@ -50,7 +50,7 @@ public void Detach(Node child)
50
public object GetData(string key)
51
{
52
object val = null;
53
- if (_data.TryGetValue(key, out val))
+ if (_dataContext.TryGetValue(key, out val))
54
return val;
55
56
Node node = _parent;
@@ -62,9 +62,9 @@ public object GetData(string key)
62
public bool ClearData(string key)
63
64
bool cleared = false;
65
- if (_data.ContainsKey(key))
+ if (_dataContext.ContainsKey(key))
66
67
- _data.Remove(key);
+ _dataContext.Remove(key);
68
return true;
69
}
70
0 commit comments