fix: UnAssign Problems
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
|
||||
using Syntriax.Engine.Core.Abstract;
|
||||
using Syntriax.Engine.Core.Exceptions;
|
||||
|
||||
@@ -81,7 +82,6 @@ public abstract class Behaviour : IBehaviour
|
||||
|
||||
_stateEnable = null!;
|
||||
_behaviourController = null!;
|
||||
_stateEnable.Unassign();
|
||||
|
||||
OnUnassigned?.Invoke(this);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user