Page 2 of 2

Re: <Increment On Destroy> Problem..

Posted: Fri Jan 08, 2021 11:34 am
by wlchfl5359
god... i found a problem.
you were right. problem was my Custom SequencerCommand.

Debug.Log("SequencerCommandNPCState 들어옴");
for (int i = 0; i < parameters.Length; i++)
{
Debug.Log("i : " + GetSubject(i).gameObject);
GetSubject(i).GetComponent<NPCState>().CheckQuest(GetSubject(i).gameObject.name);
}
Stop();

this code was in Awake() and i moved it in Start() and no error!!!!!!!!!!!!!!!!!!
Thank you very much.
i'm really impressed this Dialogue system and your answers.
Thank you!!!!!!!!!!!!!!!!!!!

Re: <Increment On Destroy> Problem..

Posted: Fri Jan 08, 2021 12:59 pm
by Tony Li
Happy to help! I'm glad you found the issue.