Beispiel #1
0
 public static void Postfix(HudManager __instance)
 {
     CooldownButton button = new CooldownButton(
         () => { RpcFunctions.RpcTurnInvis(true); },
         30f,
         "VentingCrew.Resources.invisibility.png",
         270f,
         Vector2.zero,
         CooldownButton.Category.OnlyImpostor,
         __instance,
         10f,
         () => { RpcFunctions.RpcTurnInvis(false); }
         );
 }
Beispiel #2
0
 public static void Postfix(HudManager __instance)
 {
     CooldownButton.HudUpdate();
 }