Export UnityProject inside Android Studio's existing project - c#

I am new to the Unity3D, but I have made a small Unity project with a humanoid gameobject. I can move this humanoid with the demo data but I want to move it with the quaternion data which I am already getting inside the android app.
I have searched on the internet, but everyone just tells about the android plugin that we have to make for the unity, and that way we can use the JNI to send or receive the data (I need to access the c# scripts from the android).
But, I wanted to import the unity project inside the android project so that I can(access the c# scripts from android and send the quaternion data to the Quaternion variable of the gameObject and make it move) make changes to the android app and test it instantly!! (Also I don't need to make further changes inside the unity project but I need to make further improvements to the data inside the android project).
Please help and provide a guide for the android studio.
Thanks.

Related

Unable to create a RuntimeReferenceLibrary with AR Foundation in Unity

I'm trying to create a simple app for Android that recognizes images using AR Foundation in Unity. Using the normal ReferenceLibrary and filling it within the editor works perfectly without any issues. The reason I want to use the RuntimeLibrary is to be able to fill it up using an api.
I've tried everything on the documentation as shown here:
https://docs.unity3d.com/Packages/com.unity.xr.arfoundation#4.1/manual/tracked-image-manager.html
I'm using AR Foundation 4.1.9 and Unity LTS 2021.
The problem is that when debugging (using LogCat or a serialized text field on the canvas) I do get a message saying the image is being added but when running the app it can't find it and instantiate a prefab on it.
Also have tried looking it up on the AR Foundation fora but no luck either.
Does anyone else have this issue or a solution for this strange behaviour?

Embed Unity3D Player inside Xamarin.Forms App

Is it possible to embed a Unity3D Player inside my Xamarin.Forms project? So I would like to create a little Unity project, add some Models / interactions / scenery, and finally embed it inside my App. I could imagine doing this with a WebView, but I think this will be relativly slow. Does anyone knows a good solution for this?

Embedding UWP in Unity and vice versa?

I am building a disability service in Unity that will let paralyzed people move mouse cursor with their head movement only. Whatever is in Unity is just a function so im wondering if its possible to embed it in UWP software.
So someone would launch UWP software, click on "Start Unity" button and then the software would wrap itself into unity and function is now accessible (embedded software is clickable). There are a few examples of embedding browsers in Unity (example below), but can this be done with a software. Assuming I have access to software's code.
Browser example
Thank you!

Open Unity3D game in Xamarin Form / Xamarin App in Unity3D

I'm trying to integrate Unity3D game into Xamarin Forms.
If it is possible how to manage the Unity assets in Xamarin...?
Is it possible unity game/xamarin app as a library and open in Xamarin/Unity...?
Thanks in Advance..
Maybe this answer helps you.
If your game it's a web game it's very easy just use a webview, but I assume is not the case.
In my opinion you should do a build per OS, it's very easy with unity editor, you will save time and useless problems.
Hope I helped you.

Using Unity3D to render a character onto a Kinect WPF application

I am working on a project which requires me to render a virtual character onto the kinect video feed in which the player appears.
I am attempting to use Unity3D to accomplish this. I have looked at Zigfu but I don't think this directly helps. I still want to be able to send data from my C# WPF program to the game engine (I am forking my project off from kinect Fusion Explorer). Ideally Unity would be rendering the character and movement, my WPF program would be sending information to Unity about the landscape and running the Kinect feed.
Has anyone attempted this or have any idea how this could be achieved?
If this is not possible with Unity, are there other game dev libraries I could use to render a character onto the Kinect feed?
Thanks
If you want to send data via network (sockets) you will face problems with the size of frames. So my opinion is to use WCF. I'm not sure if it works for you, but this's how I managed it in my project (sending position and orientation)

Categories

Resources