-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModule.cs
More file actions
29 lines (25 loc) · 829 Bytes
/
Module.cs
File metadata and controls
29 lines (25 loc) · 829 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace InspectorFixer
{
public class Module : ETGModule
{
public static readonly string MOD_NAME = "Inspector Fixer";
public static readonly string VERSION = "1.0.0";
public static readonly string TEXT_COLOR = "#3f179c";
public override void Start()
{
ETGModMainBehaviour.Instance.gameObject.AddComponent<InspectorFixer>();
Log($"{MOD_NAME} v{VERSION} started successfully.", TEXT_COLOR);
}
public static void Log(string text, string color = "#FFFFFF")
{
ETGModConsole.Log($"<color={color}>{text}</color>");
}
public override void Exit() { }
public override void Init() { }
}
}