Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample with Xamarin Forms Project? #3

Open
dgerding opened this issue May 25, 2018 · 6 comments
Open

Sample with Xamarin Forms Project? #3

dgerding opened this issue May 25, 2018 · 6 comments

Comments

@dgerding
Copy link

Hi,
Very interested in trying this out. Just wondering if there is a solution sample somewhere that includes the Xamarin Forms project (and supported XF target projects like Android, iOS etc... ) to see better how to wire up what I assume is are custom view renderers to host the Unity runtime?

Thanks!
Dave G

@aosoft
Copy link
Owner

aosoft commented Jun 19, 2018

Sorry for the late reply.
The XF for Unity also follows the architecture of other platforms. I think that it is better to refer to the source code while comparing with other implementations, because XF for Unity has some unique processing (management of View class instance, UI layout etc.).

@dgerding
Copy link
Author

dgerding commented Jun 3, 2019

Hi @aosoft,
Glad to see the new update to XF 4.0. Before I try again can you tell me if my mental model is correct?

Can I use this package to achieve either of the following:

Have a unity runtime appear embedded as just part of a XamarinForms ContentPage?

or

Can I link to a full-screen Unity runtime from a XamarinForms Content page and then return to Xamarin Forms pages from the Unity runtime?

Thanks for your patience and efforts here!

Dave G

@MarcK95
Copy link

MarcK95 commented Dec 6, 2019

@aosoft
I'd really like to know too what @dgerding asked in his last question.
Is it possible to do at least one of the described scenarios?

@louisoftokyo
Copy link

@aosoft

I would also really like to know what @dgerding and @MarcKammermann are asking.

@aosoft
Copy link
Owner

aosoft commented May 29, 2020

XF For Unity runs on the Unity runtime.
At runtime, XF for Unity maps Xamarin.Forms components to Unity's uGUI.

Other .NET runtimes are not considered.
It does not, for example, allow you to embed an Unity app as part of an Xamarin.Android app created in Xamarin.Forms. The reverse is also not possible.

@louisoftokyo
Copy link

Understood, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants