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