Add Unity project to Xamarin project? - unity3d

I'm working on a Xamarin Project in which I'd like to integrate an augmented reality app I've made with Unity (as an external resource).
Does anyone know if that's possible or not? And how can I do that?

Related

Can we create AR Desktop Application in Unity?

I am trying to create an AR animation in unity. I am going to use DSLR camara. I searched to create a desktop application for this. but could not found any solution. I have created a sample project and build a desktop application. but its not working. I think i am missing something. I could not found how to make this possible. i am not creating an application to run on android or ios. any solution for this??

Why the integration of Flutter with Unity and AR Vuforia makes no object appears?

I want to integrate Flutter app with Unity and AR Vuforia. I tried to use library: flutter_unity_widget (https://pub.dev/packages/flutter_unity_widget).
When integrating Flutter app with Unity without Vuforia it works very well. But when I tried to use it with Vuforia … OK, I didn't get any error and I could build app, but when I tested it, it didn't show any object.
I did all the configuration with the library tutorial.
Maybe some of you integrated something like that?
Do you have any sample project with it?
You can check out this blog about "Building with Flutter + Unity (AR Experience Toolkit)" for unity.
And for AR Vuforia, it seems that support for this is not yet materialized as of this GitHub post. You can watch out for the updates there.
The same thing happened to me when I was testing on iOS, Android was OK
I went through all the steps, only that Vuforia didn't recognize anything. According to this issue Dataset Foo could not be loaded and cannot be activated, I dragged and dropped the data folder and Vuforia into the Runner.
And everything was working fine

How can I Build a Unity3d Project to Run on a Web Page?

Before it was possible to build Unity3d projects to a unity web player, but today browsers no longer support it. Is there any other way to do this?
Use a WebGL build target, it generates a html that embeds the player

Xamarin Forms and Unity

Is it possible to have Unity and Xamarin Forms in a single app. We have a scenario where there is a business app written completely in Xamarin Forms and we need to build a wheel of fortune for incentives, which can be built very easily using Unity.
If this is not possible, are there any alternatives?
If this is not possible, are there any alternatives?
I think it's not possible for now, but you can use UrhoSharp as alternative for Unity
Since Xamarin and Unity having different mono base its almost impossible. Good news is Unity planing to use Mono 5.9 version which is same with Xamarin.
For more information click here.

Merging a game into WinRT app

I'm wondering what options do I have to merge a 2D game into WinRT app that's already developed. I've developed couple of games in Unity3D but not sure if they can be played as a part of WinRT app (launch on button click).
I've heard Microsoft provide XNA framework for game development. Would that be of any help in my case? The requirement is to launch game on button click and get back to app on back button click.
Please let me know if there's better approach/tool available.
Firstly you say you want to merge a game with a WinRT app - Do you mean you want to put a game inside another application, so perhaps have an app as a launch pad for you game? If you want to target WinRT with Unity I just looked at the platforms that Unity targets and Universal Windows Platform is listed there. You could write the application part in Unity couldn't you ? So that the app is just the first scene that you see. That might seem strange, but if you had to use unity and the app was just a small application with not too many requirements you could do it that way.
Xna has been discontinued. You should use other frameworks.
If you want to write it from scratch I would suggest that you write it as WinRT application (Universal Windows Platform) so that you can define the application UI in Xaml and write the game with a dedicated graphics/game api such as SharpDX http://sharpdx.org/ (which is a wrapper around DirectX) or perhaps even better, take a look at Win2D http://microsoft.github.io/Win2D/html/Introduction.htm which is a very impressive 2d graphics api.
In practice, both SharpDX and Win2D would target one of the Xaml controls that give you access to a swap-chain (eg SwapChainPanel, SwapChainBackgroundPanel, CanvasControl etc). These Xaml controls are integrated into the Xaml UI and can simply pop up when you need them and viola, your game is running.
Since it was a 2D game that I wanted to integrate with my WinRT app, I decided to go with Scirra Contstruct 2, designed specifically for 2D games. It exported the project as website which I hosted on my server and used a WebView within my app to load the game. Not only the performance is good, but, as a bi-product, it made the game cross platform.