-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathUISetting.cs
More file actions
27 lines (25 loc) · 806 Bytes
/
UISetting.cs
File metadata and controls
27 lines (25 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Copyright (c) scott.cgi All Rights Reserved.
*
* This source code belongs to project MojoUnity-Packages, which is hosted on GitHub, and licensed under the MIT License.
*
* License: https://github.com/scottcgi/MojoUnity-Packages/blob/main/LICENSE
* GitHub : https://github.com/scottcgi/MojoUnity-Packages
* Package: https://github.com/scottcgi/MojoUnity-Packages/tree/main/MojoUnity-TextPro
*
* Since : 2021-6-5
* Update : 2021-6-5
* Author : scott.cgi
*/
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class UISetting : MonoBehaviour
{
private void Start()
{
this.gameObject.AddComponent<GraphicRaycaster>();
this.gameObject.AddComponent<EventSystem>();
this.gameObject.AddComponent<StandaloneInputModule>();
}
}