This commit is contained in:
Szymon Miś
2025-11-20 14:35:47 +01:00
parent 3245780fa7
commit 693dc35a9f

View File

@@ -50,8 +50,8 @@ namespace DemonBoss.Summoner
private void OnEnter(vIFSMBehaviourController fsmBehaviour) private void OnEnter(vIFSMBehaviourController fsmBehaviour)
{ {
summoner = fsmBehaviour.GetComponent<SummonerAI>(); summoner = fsmBehaviour.gameObject.GetComponent<SummonerAI>();
animator = fsmBehaviour.GetComponent<Animator>(); animator = fsmBehaviour.gameObject.GetComponent<Animator>();
if (summoner == null) if (summoner == null)
{ {