void Start() { string source = File.ReadAllText(Application.dataPath + "/StreamingAssets/Test.cs"); assembly = loader.CompileScript(source); Debug.Log(assembly.FullName); instance = loader.CreateInstance(assembly); loader.ExecPluginFunction(assembly, instance, "Func"); bool returned = (bool)loader.ExecPluginFunction(assembly, instance, "ReturnTypeFunc"); Debug.Log("Returned value: " + returned); }