示例#1
0
文件: DrlBase.cs 项目: Kryod/drl
        public void Run(NativePlugins.Types.Algorithm alg)
        {
            this.CheckHandle();
#if !UNITY_EDITOR
            _Run(this.Handle, alg);
#else
            NativePluginLoader.GetDelegate <DllRun>(this.DllHandle, "run")(this.Handle, alg);
#endif
        }
示例#2
0
文件: DrlBase.cs 项目: Kryod/drl
 private static extern void _Run(IntPtr handle, NativePlugins.Types.Algorithm alg);