Tanoda
EnforceWindowSize.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine
;
4
5
public
class
EnforceWindowSize
: MonoBehaviour
6
{
7
#if !UNITY_WEBGL
8
public
int
X
,
Y
;
9
10
void
Start()
11
{
12
MinimumWindowSize.Set(
X
,
Y
);
13
}
14
15
private
void
OnDestroy()
16
{
17
MinimumWindowSize.Reset();
18
}
19
#endif
20
}
EnforceWindowSize
Definition:
EnforceWindowSize.cs:6
EnforceWindowSize.Y
int Y
Definition:
EnforceWindowSize.cs:8
EnforceWindowSize.X
int X
Definition:
EnforceWindowSize.cs:8
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
EnforceWindowSize.cs
Generated by
1.9.3