File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Assets/HOTK/Example Content/UI Scripts Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Collections . Generic ;
1
+ using System . Collections . Generic ;
3
2
using System . Linq ;
4
- using JetBrains . Annotations ;
5
3
using UnityEngine ;
6
4
using UnityEngine . UI ;
7
5
8
6
[ RequireComponent ( typeof ( Dropdown ) ) ]
9
7
public class DropdownSaveLoadController : MonoBehaviour
10
8
{
11
-
12
-
13
9
public HOTK_Overlay OverlayToSave ;
14
10
15
11
public InputField UsernameField ;
@@ -42,7 +38,6 @@ public class DropdownSaveLoadController : MonoBehaviour
42
38
public Button SaveNewButton ;
43
39
public Button CancelNewButton ;
44
40
45
-
46
41
public Dropdown Dropdown
47
42
{
48
43
get { return _dropdown ?? ( _dropdown = GetComponent < Dropdown > ( ) ) ; }
@@ -52,11 +47,6 @@ public Dropdown Dropdown
52
47
53
48
private static string NewString = "New.." ;
54
49
55
- // Use this for initialization
56
- void Start ( ) {
57
-
58
- }
59
-
60
50
public void OnEnable ( )
61
51
{
62
52
if ( TwitchSettingsSaver . SavedSettings . Count == 0 )
@@ -232,9 +222,4 @@ public void OnSaveNameChanged()
232
222
SaveNewButton . interactable = true ;
233
223
}
234
224
}
235
-
236
- // Update is called once per frame
237
- void Update ( ) {
238
-
239
- }
240
225
}
You can’t perform that action at this time.
0 commit comments