UNPKG

rollup-plugin-unity-jslib

Version:

Rollup plugin for converting javascript library into Unity .jslib. file

17 lines (16 loc) 603 B
import { HookMethod } from "./hookMethod"; import { UnityCall } from "./unityCall"; export declare class CsLibBuilder { private className; private namespace; private methodPrefix; private useDynamicCall; constructor(className: string, namespace: string | null, methodPrefix: string, useDynamicCall: boolean); buildCsClass(methods: HookMethod[], calls: UnityCall[]): string; private buildInitMethod; private buildFunctionParameters; private buildFunctionCall; private buildParamCall; private buildReturnType; private buildUnityCallbacks; }