25 lines
650 B
C#
25 lines
650 B
C#
using System.Collections;
|
|
using UnityEngine;
|
|
|
|
|
|
public static class CharacterControllerExtentions //: MonoBehaviour
|
|
{
|
|
//public static void ChangeWeightOverTime(this CharacterController controller)
|
|
//{
|
|
|
|
//}
|
|
//public static void ChangeColliderHeight(float newHeight)
|
|
//{
|
|
// CharacterController.height = newHeight;
|
|
//}
|
|
//public static void ChangeColliderCenter(Vector3 newCenter)
|
|
//{
|
|
// CharacterController.center = newCenter;
|
|
//}
|
|
//public static void ResetToDefault()
|
|
//{
|
|
// CharacterController.height = defaultHeight;
|
|
// CharacterController.center = defaultCenter;
|
|
//}
|
|
}
|