Post

Replies

Boosts

Views

Activity

Best way to integrate 3d game functionality in Native OS
Hello! I am currently trying to implement a 3d game, in which I also need nativeiOS functionality like good integration of the applePencil (like with pencilKit). I thought about using SceneKit but as I found a lot of information that it is not that great (https://developer.apple.com/forums/thread/117457) I went for Unity. I used the Unity as a library for SwiftUI (https://docs.unity3d.com/Manual/UnityasaLibrary.html) which worked but one withdraw is that unity always has to be opened FullScreen and I felt uncomfortable just overlaying the unity window with SwiftUI UI elements. Furthermore as I realized that Unity as a library is not available for macOS I now have to come up with a different solution anyway. (The background is Unity, the UI is SwiftUI) I think about using Flutter or ReatNative and combine the modules from Unity and Native iOS there. Do you think this is a good idea, or do you propose a different solution?
0
0
808
Oct ’22
Data Communication between Unity and NativeiOS
Hello! I am working on an app that uses a native iOS as a base to show a 3D Room in Unity. I archive this by using: https://docs.unity3d.com/Manual/UnityasaLibrary-iOS.html I want to use iOS native because of the pencilKit support. I am now looking for the best option to share data between the two instances. I am not sure if the better way is to just let the native Swift App talk to a Realm and just send in the data I want to store from Unity to Swift, or if its possible to let both apps talk to the same database. The goal is to create a 3D Object in Unity (that has some properties like coordinates) and assign a PKDrawingFile to it. Thank you for all your help, Jakob
0
0
1.1k
Nov ’21