mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
17 lines
575 B
C#
17 lines
575 B
C#
using MiraAPI.Roles;
|
|
using MiraAPI.Utilities.Assets;
|
|
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 LoadableAsset<Sprite> OptionsScreenshot => ExampleAssets.Banner;
|
|
|
|
} |