Hi
Let me ask you two questions.
I'm developing a c ++ Windows standalone game application.
I want to incorporate a standalone game created in Unity into my game.
At that time, referring to the following Unity document, UnityPlayer.dll is read and called by the UnityMain function.
https://docs.unity3d.com/ja/2019.4/Manual/UnityasaLibrary-Windows.html ---------- -Question 1
Even if I pass an instance of the game application (HINSTANCE) and a window instance (HWND) to UnityMain,
they are not displayed in the same application.
(In UWP, it is confirmed that it is displayed by passing the form)
-Question 2
When the UnityMain function is executed, the update of the application from which it is executed stops.
I can understand the principle of stopping to some extent, Is there any way I can't stop it?
Used Unity Ver 2019.4
Please help me
Let me ask you two questions.
I'm developing a c ++ Windows standalone game application.
I want to incorporate a standalone game created in Unity into my game.
At that time, referring to the following Unity document, UnityPlayer.dll is read and called by the UnityMain function.
https://docs.unity3d.com/ja/2019.4/Manual/UnityasaLibrary-Windows.html ---------- -Question 1
Even if I pass an instance of the game application (HINSTANCE) and a window instance (HWND) to UnityMain,
they are not displayed in the same application.
(In UWP, it is confirmed that it is displayed by passing the form)
-Question 2
When the UnityMain function is executed, the update of the application from which it is executed stops.
I can understand the principle of stopping to some extent, Is there any way I can't stop it?
Used Unity Ver 2019.4
Please help me