In UCC when we equip/unequip any item, events are executed with strings "OnAnimatorItemEquip" and "OnAnimatorItemunequip".
I want to apply the wait functionality till the event with this string is triggered.
Please note... I want to apply something like this...
I looked into your documentation, and not sure is this what I am looking for or something else. If this is, what I am looking for, there are few variables if you would explain me. It will be grateful to you. i.e.
Type of these variables.. m_UseEvent, register, eventTarget,
I am looking forward to hearing from you.
I want to apply the wait functionality till the event with this string is triggered.
Please note... I want to apply something like this...
C#:
m_UseEvent.WaitForEvent(ExecuteEvent, "OnAnimatorItemEquip"); // Something similar
Then do{
Print ("After wait, next lines will run");
}
I looked into your documentation, and not sure is this what I am looking for or something else. If this is, what I am looking for, there are few variables if you would explain me. It will be grateful to you. i.e.
Type of these variables.. m_UseEvent, register, eventTarget,
I am looking forward to hearing from you.