/// <summary> /// 外部设置当前引导系统需要的数据 /// </summary> public void SetBBValue(EGuideBBKey _eBBKey, object _oValue) { if (m_guideData != null && m_guideData.GuideDynamicBB != null) { m_guideData.GuideDynamicBB.SetValue(_eBBKey, _oValue); } }
public T GetValue <T>(EGuideBBKey key, T defaultValue) { if (_items.ContainsKey(key) == false) { return(defaultValue); } return(_items[key].GetValue <T>()); }
public void SetValue(EGuideBBKey key, object v) { BlackboardItem item; if (_items.ContainsKey(key) == false) { item = new BlackboardItem(); _items.Add(key, item); } else { item = _items[key]; } item.SetValue(v); }