How do I get an instance of ZED2 camera to access it's properties, within a new csharp script?

how do I get an instance of ZED2 camera to access it’s properties, within a new csharp script?

Hi @Rachael
You can access a specific ZEDManager from pretty much any script using ZEDManager.GetInstance().
From there you can navigate the properties of the camera as you need.

Our project is a unity project, that uses assembly definitions :smiley:

I had to add an assembly definition to your ZED package, and then add that assembly definition to our projects assembly reference… it works now.
Thanks,

1 Like