public NatCorderOSX () { var writePath = #if UNITY_EDITOR System.IO.Directory.GetCurrentDirectory(); #else Application.persistentDataPath; #endif NatCorderBridge.Initialize(null, OnVideo, writePath); Debug.Log("NatCorder: Initialized NatCorder 1.2 macOS backend"); }
public NatCorderOSX () { var writePath = #if UNITY_EDITOR System.IO.Directory.GetCurrentDirectory(); #else Application.persistentDataPath; #endif NatCorderBridge.Initialize(null, OnVideo, writePath); transformMat = new Material(Shader.Find("Hidden/NatCorder/Transform")); Debug.Log("NatCorder: Initialized NatCorder 1.1 macOS backend"); }
public NatCorderiOS() { NatCorderBridge.Initialize(OnEncode, OnVideo, Application.persistentDataPath); RenderDispatch.Initialize(); Debug.Log("NatCorder: Initialized NatCorder 1.2 iOS backend"); }
public NatCorderiOS() { NatCorderBridge.Initialize(OnEncode, OnVideo, Application.persistentDataPath); transformMat = new Material(Shader.Find("Hidden/NatCorder/Transform")); Debug.Log("NatCorder: Initialized NatCorder 1.1 iOS backend"); }