Open dgerding opened 6 years ago
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.).
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
@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?
@aosoft
I would also really like to know what @dgerding and @MarcKammermann are asking.
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.
Understood, thank you.
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