-
Notifications
You must be signed in to change notification settings - Fork 4
/
Main.cs
35 lines (30 loc) · 886 Bytes
/
Main.cs
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
28
29
30
31
32
33
34
35
using UnityEngine;
using TheForest.Utils;
namespace Forest
{
public class Main : MonoBehaviour
{
private void Update()
{
if(UnityEngine.Input.GetKey(KeyCode.Delete))
{
Loader.Unload();
}
}
private void OnGUI()
{
if (LocalPlayer.IsInWorld)
{
if(Menu.Watermark)
{
GUI.Label(new Rect(20, 20, 200, 60), "UnKnoWnCheaTs.me | Shv00");
}
if (Menu.Crosshair)
{
Render.DrawBox(new Vector2(Screen.width / 2f, Screen.height / 2f - 7f), new Vector2(1, 15), Color.green);
Render.DrawBox(new Vector2(Screen.width / 2f - 7f, Screen.height / 2f), new Vector2(15, 1), Color.green);
}
}
}
}
}