#wait so u mean there s more to it
1 messages · Page 1 of 1 (latest)
I'm not sure. I'm just saying without analyzing your code for specifics this is my best guess as to why its causing this error.
Yeah what does SecondPhase?.Invoke() do?
{
FirstBoss.SecondPhaseStarts += Done;
FirstBoss.SecondPhaseStarts += Again;
}
private void OnDisable()
{
FirstBoss.SecondPhaseStarts -= Done;
FirstBoss.SecondPhaseStarts -= Again;
void Done()
{
gameObject.SetActive(false);
}
void Again()
{
gameObject.SetActive(true);
}