2012-07-07 20:57:54 +01:00
|
|
|
|
using System;
|
2023-04-16 17:46:17 +02:00
|
|
|
|
using UnityEngine;
|
2012-07-07 20:57:54 +01:00
|
|
|
|
|
|
|
|
|
namespace Microsoft.Xna.Framework
|
|
|
|
|
{
|
|
|
|
|
class UnityGameWindow : GameWindow
|
2023-04-16 17:46:17 +02:00
|
|
|
|
{
|
2012-07-07 20:57:54 +01:00
|
|
|
|
public override bool AllowUserResizing
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public override void BeginScreenDeviceChange(bool willBeFullScreen)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
public override Rectangle ClientBounds
|
|
|
|
|
{
|
2023-04-16 17:46:17 +02:00
|
|
|
|
//get { throw new NotImplementedException(); }
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
if (!Application.isEditor)
|
|
|
|
|
{
|
|
|
|
|
return new Rectangle(Screen.mainWindowPosition.x, Screen.mainWindowPosition.y, Screen.height, Screen.width);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
return new Rectangle(0, 0, Screen.height, Screen.width);
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-07-07 20:57:54 +01:00
|
|
|
|
}
|
|
|
|
|
public override void EndScreenDeviceChange(string screenDeviceName, int clientWidth, int clientHeight)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
public override IntPtr Handle
|
|
|
|
|
{
|
|
|
|
|
get { throw new NotImplementedException(); }
|
|
|
|
|
}
|
|
|
|
|
public override string ScreenDeviceName
|
|
|
|
|
{
|
|
|
|
|
get { throw new NotImplementedException(); }
|
|
|
|
|
}
|
|
|
|
|
protected override void SetTitle(string title)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2023-04-16 17:46:17 +02:00
|
|
|
|
}
|
2012-07-07 20:57:54 +01:00
|
|
|
|
}
|