I can’t seem to figure out how to use the plugin with JS. I want to get the playbacktime of the video.
[http://downloads.renderheads.com/docs/AVProVideoClassReference-1.1.0/interface_render_heads_1_1_media_1_1_a_v_pro_video_1_1_i_media_control.html] 1 tells me to use this function:
There are a bunch of c# examples but nothing for JS. I thought I could just import and access like other functions but that doesn’t work the way I expected.
BCE0021: Namespace 'RenderHeads.Media.AVProVideo' not found, maybe you forgot to add an assembly reference?
I did find something here: Unity - Manual: Native plug-ins
this returns the following error:
BCE0064: No attribute with the name 'DllImport' or 'DllImportAttribute' was found (attribute names are case insensitive). Did you mean 'System.Runtime.InteropServices.DllImportAttribute'?
How should I do this?