20 lines
521 B
C#
20 lines
521 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class stairAdherenceSystem : MonoBehaviour
|
|
{
|
|
[Header ("Main Settings")]
|
|
[Space]
|
|
|
|
public bool modifyStairsValuesOnPlayer = true;
|
|
public float stairsMinValue = 0.08f;
|
|
public float stairsMaxValue = 0.25f;
|
|
public float stairsGroundAdherence = 6.5f;
|
|
|
|
public void setStairsValuesOnPlayer (playerController newPlayerController)
|
|
{
|
|
newPlayerController.setStairsValues (stairsMinValue, stairsMaxValue, stairsGroundAdherence);
|
|
}
|
|
}
|