feat: setup window using the api

This commit is contained in:
Gerard Gascón 2024-04-15 01:24:13 +02:00
parent 61c18429a2
commit 19cd8e5d03
27 changed files with 1364 additions and 10 deletions

View file

@ -0,0 +1,24 @@
using UnityEngine;
namespace SatorImaging.AppWindowUtility
{
static class InitializeOnLoad
{
#if UNITY_EDITOR
//[UnityEditor.InitializeOnLoadMethod]
#endif
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterAssembliesLoaded)]
static void Install()
{
#if UNITY_STANDALONE_WIN
AppWindowUtility.platform = new Windows();
#endif
}
}//class
}//namespace