added Reload attribute to KCC

This commit is contained in:
2025-11-16 19:24:51 -05:00
parent f96bbd61b0
commit ae8602d473

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;
using Boxfriend.Generators;
namespace KinematicCharacterController
{
@@ -9,7 +10,8 @@ namespace KinematicCharacterController
/// The system that manages the simulation of KinematicCharacterMotor and PhysicsMover
/// </summary>
[DefaultExecutionOrder(-100)]
public class KinematicCharacterSystem : MonoBehaviour
[Reload]
public partial class KinematicCharacterSystem : MonoBehaviour
{
private static KinematicCharacterSystem _instance;