There was an error while loading. Please reload this page.
1 parent 448129f commit 0f6e621Copy full SHA for 0f6e621
Packages/SOGameEvents/Editor/UIntGameEventEditor.cs
@@ -1,21 +1,13 @@
1
-using System.Collections;
2
-using System.Collections.Generic;
3
-using UnityEngine;
+using UnityEditor;
4
5
namespace RaCoding.GameEvents
6
{
7
- public class UIntGameEventEditor : MonoBehaviour
+ [CustomEditor(typeof(GameEvent<uint>), editorForChildClasses: true)]
+ public class UIntGameEventEditor : GameEventEditor<uint>
8
9
- // Start is called before the first frame update
10
- void Start()
+ protected override uint GetValue()
11
12
-
13
- }
14
15
- // Update is called once per frame
16
- void Update()
17
- {
18
+ return (uint)EditorGUILayout.IntField(1);
19
}
20
21
-}
+}
0 commit comments