added Reload attribute to KCC
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user