Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

About launching Unity application of UnityMain function in C ++ application using DirectX11

$
0
0
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

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>