Tanoda
MyEventSystem.cs
Go to the documentation of this file.
1
using
UnityEngine
.
EventSystems
;
2
using
UnityEngine
;
3
4
public
class
MyEventSystem
: EventSystem
5
{
6
public
static
MyEventSystem
instance
;
7
8
protected
override
void
Start
()
9
{
10
instance
=
this
;
11
base.
Start
();
12
}
13
14
protected
override
void
OnEnable
()
15
{
16
base.OnEnable();
17
}
18
19
protected
override
void
Update
()
20
{
21
EventSystem originalCurrent = EventSystem.current;
22
current =
this
;
23
base.Update();
24
current = originalCurrent;
25
}
26
}
27
MyEventSystem
Definition:
MyEventSystem.cs:5
MyEventSystem.Update
override void Update()
Definition:
MyEventSystem.cs:19
MyEventSystem.Start
override void Start()
Definition:
MyEventSystem.cs:8
MyEventSystem.instance
static MyEventSystem instance
Definition:
MyEventSystem.cs:6
MyEventSystem.OnEnable
override void OnEnable()
Definition:
MyEventSystem.cs:14
UnityEngine.EventSystems
Definition:
AimerInputModule.cs:5
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
Pointer
MyEventSystem.cs
Generated by
1.9.3