Files
MiraAPI/MiraAPI.Example/Roles/TeleporterRole.cs
T
2024-09-14 12:55:34 -04:00

20 lines
613 B
C#

using MiraAPI.Roles;
using UnityEngine;
namespace MiraAPI.Example.Roles;
[RegisterCustomRole]
public class TeleporterRole : CrewmateRole, ICustomRole
{
public string RoleName => "Teleporter";
public string RoleLongDescription => "Zoom out and teleport across the map!";
public string RoleDescription => RoleLongDescription;
public Color RoleColor => new Color32(221, 176, 152, 255);
public ModdedRoleTeams Team => ModdedRoleTeams.Crewmate;
public CustomRoleConfiguration Configuration => new CustomRoleConfiguration()
{
OptionsScreenshot = ExampleAssets.Banner,
};
}