public ScriptUserdata GetDelegate(Type type) { if (m_Delegates.ContainsKey(type)) { return(m_Delegates[type]); } ScriptUserdataDelegateType ret = new ScriptUserdataDelegateType(this, type); m_Delegates.Add(type, ret); return(ret); }
public ScriptUserdata GetDelegate(Type type) { if (this.m_Delegates.ContainsKey(type)) { return(this.m_Delegates[type]); } ScriptUserdataDelegateType type2 = new ScriptUserdataDelegateType(this, type); this.m_Delegates.Add(type, type2); return(type2); }
public static void Initialize() { ScriptUserdataDelegateType.SetFactory(new ScorpioDelegateFactory()); }