add ckg
plantilla base para movimiento básico
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user