UnityScript.Scripting.EvaluationDomain.GetCachedScript C# (CSharp) Method

GetCachedScript() public method

public GetCachedScript ( EvaluationScriptCacheKey key ) : Type
key EvaluationScriptCacheKey
return System.Type
        public Type GetCachedScript(EvaluationScriptCacheKey key)
        {
            EvaluationDomain domain = this;
            lock (domain)
            {
                object obj1 = this._cache[key];
                if (!(obj1 is Type))
                {
                }
                return (Type) RuntimeServices.Coerce(obj1, typeof(Type));
            }
        }
    }