-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
38 lines (35 loc) · 1.39 KB
/
Config.cs
File metadata and controls
38 lines (35 loc) · 1.39 KB
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
36
37
38
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace OutOfBoundsFix
{
#if LABAPI
public class Config
{
[Description("Every position of where you want your area to be played + their range ( as a scale of a cube )")]
public Dictionary<Vector3, float> OutOfBoundsSpots { get; set; } = new Dictionary<Vector3, float>() {
{new Vector3(0,400,0),128 }
};
[Description("Spawns a primitive on each spot so that you can visualise where yor spot has been spawned (Only for debug)")]
public bool DisplaySpotsRadius { get; set; } = true;
}
#elif EXILED
public sealed class Config : Exiled.API.Interfaces.IConfig
{
[Description("If the plugin is enabled or not.")]
public bool IsEnabled { get; set; } = true;
[Description("Displays plugin debug logs.")]
public bool Debug { get; set; } = true;
[Description("Every position of where you want your area to be played + their range ( as a scale of a cube )")]
public Dictionary<Vector3, float> OutOfBoundsSpots { get; set; } = new Dictionary<Vector3, float>() {
{new Vector3(0,400,0),128}
};
[Description("Spawns a primitive on each spot so that you can visualise where your spot has been spawned (Only for debug)")]
public bool DisplaySpotsRadius { get; set; } = false;
}
#endif
}