-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoader.cs
More file actions
29 lines (27 loc) · 874 Bytes
/
Copy pathLoader.cs
File metadata and controls
29 lines (27 loc) · 874 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
28
29
using BepInEx;
using J0kerMenuTemp.Menu;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace ReadonsMenuTemp.Loading
{
[BepInPlugin("com.J0kerModZ.J0kerMenuTemp", "J0ker Menu Temp", "1.0.0")] // You Can Change This To Your Info
public class Loader : BaseUnityPlugin
{
private static GameObject IfActiveLoad;
private static bool loaded = false;
private void Update()
{
IfActiveLoad = GameObject.Find("Gameplay Scripts");
if (IfActiveLoad != null && IfActiveLoad.activeInHierarchy && !loaded)
{
GameObject load = new GameObject("J0ker Loader");
load.AddComponent<Client>();
loaded = true;
}
}
}
}