bibigone / k4a.net

K4A.Net - Three-in-one .NET library to work with Azure Kinect devices (also known as Kinect for Azure, K4A, Kinect v4). It includes sensor API, recording and playback API, body tracking API. Samples for WPF, .NET Core and Unity are included.
MIT License
164 stars 39 forks source link

Unity setup sample #6

Closed feiou closed 4 years ago

feiou commented 4 years ago

Hello,

Thank you for making this repo. It is relatively the best C# Azure Kinect SDK in GitHub so for.

As you've stated this is compatible with Unity 2018 and up, but I think it is not clear how exactly it should be set up to work. I've tried moving the folder into a Unity project or build the source into dll in VS then put into Unity but it still has some issue that it would not work. And plus the mess on the k4a and k4abt dependencies.

It would be best to have a step by step setup to make this work in Unity, or a sample Unity project?

Thanks

bibigone commented 4 years ago

Hello @feiou,

@baSSiLL is working on Unity sample for this library and I've just merged his first pull request to main branch. Please, take a look: https://github.com/bibigone/k4a.net/tree/master/K4AdotNet.Samples.Unity

qazqaz12378 commented 4 years ago

hello Run the error after compiling according to the tutorial you said. image Thanks

baSSiLL commented 4 years ago

Hi @qazqaz12378 Is depthengine_1_0.dll contained in the root directory of the sample Unity project? It should have been copied there by prepare.cmd script when you run it.

qazqaz12378 commented 4 years ago

@baSSiLL My problem, I can copy the dll all over and run normally, thank you