mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-07-07 12:54:12 -05:00
-Impact based grappling hook with options for other types of implementation -Wallrun tweaked so players can always jump off wall
16 lines
289 B
C#
16 lines
289 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class WallRunItem : Item
|
|
{
|
|
public override void Equip(PlayerStats p){
|
|
p.HasWallrun = true;
|
|
}
|
|
|
|
public override void Unequip(PlayerStats p)
|
|
{
|
|
p.HasWallrun = false;
|
|
}
|
|
}
|