internal bool GetGlobal <T>(NodeCanvas nodecanvas, string key, out T outvalue) where T : class { if (nodecanvas != null && this.globalvals.ContainsKey(nodecanvas)) { FSMGloablValues fbv = this.globalvals[nodecanvas]; if (fbv.Has(key)) { outvalue = (T)fbv.getObject(key); return(true); } } outvalue = null; return(false); }
internal bool GetGlobal(NodeCanvas nodecanvas, string key, out System.Object outvalue) { if (nodecanvas != null && this.globalvals.ContainsKey(nodecanvas)) { FSMGloablValues fbv = this.globalvals[nodecanvas]; if (fbv.Has(key)) { outvalue = fbv.getObject(key); return(true); } } outvalue = null; return(false); }