mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Idk
This commit is contained in:
1 parent
a077cabea1
commit
5c24488049
5 files changed
+56
-15
No files matched your search
@@ -1,8 +1,15 @@
|
||||
namespace MiraAPI.Example;
|
||||
using MiraAPI.Modifiers.Types;
|
||||
|
||||
public class ModifierExample
|
||||
namespace MiraAPI.Example;
|
||||
|
||||
[RegisterModifier]
|
||||
public class ModifierExample : TimedModifier
|
||||
{
|
||||
//name, role specific, etc
|
||||
public override string ModifierName => "Timed modifier example";
|
||||
public override float Duration => 10;
|
||||
|
||||
// mono behaviour stuff here (ModdedPlayerModifier inherits monobehaviour)
|
||||
public override void OnTimerComplete()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user