mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
17 lines
550 B
C#
17 lines
550 B
C#
using MiraAPI.Roles;
|
|
using MiraAPI.Utilities.Assets;
|
|
using UnityEngine;
|
|
|
|
namespace MiraAPI.Example.Roles;
|
|
|
|
[RegisterCustomRole]
|
|
public class CustomRole : CrewmateRole, ICustomRole
|
|
{
|
|
public string RoleName => "Teleporter";
|
|
public string RoleLongDescription => "Zoom out and teleport across the map!";
|
|
public string RoleDescription => RoleLongDescription;
|
|
public Color RoleColor => Color.blue;
|
|
public ModdedRoleTeams Team => ModdedRoleTeams.Crewmate;
|
|
public LoadableAsset<Sprite> OptionsScreenshot => ExampleAssets.Banner;
|
|
|
|
} |