public ScriptUserdataObjectType GetType(Type type) { if (m_Types.ContainsKey(type)) { return(m_Types[type]); } ScriptUserdataObjectType ret = new ScriptUserdataObjectType(this, type, GetScorpioType(type)); m_Types.Add(type, ret); return(ret); }
public ScriptUserdataObjectType GetType(Type type) { if (this.m_Types.ContainsKey(type)) { return(this.m_Types[type]); } ScriptUserdataObjectType type2 = new ScriptUserdataObjectType(this, type, this.GetScorpioType(type)); this.m_Types.Add(type, type2); return(type2); }