public static byte[] GetLuaBytes(string name) { string key = name + ".lua"; UnityEngine.Object @object = AssetPool.GetAsset(key); if (@object != null) { return((@object as TextAsset).bytes); } @object = AssetPool.FindLuaAsset(key); if (@object != null) { return((@object as TextAsset).bytes); } return(null); }