fix: BehaviourController assigning a new state enable to all newly added behaviours fixed
This commit is contained in:
parent
c39ee44442
commit
5b2c13f8bf
@ -27,7 +27,6 @@ public class BehaviourController : BaseEntity, IBehaviourController
|
||||
InsertBehaviourByPriority(behaviour);
|
||||
|
||||
behaviour.Assign(this);
|
||||
behaviour.Assign(Factory.StateEnableFactory.Instantiate(behaviour));
|
||||
|
||||
if (IsInitialized)
|
||||
behaviour.Initialize();
|
||||
|
Loading…
x
Reference in New Issue
Block a user