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