Hello,
it is maybe an easy question...
I want to use SetEnabled()to disable a characters' eyes-blink script depends on character's emoting.
However, what I wrote was not working.
Then, I wonder I should delete the space, but it was not working too.
I use this component:
I guess I mistake the component name format, but I'm not sure the correct form.
How should I write this command?
How should I write the component name in SetEnabled()?
Re: How should I write the component name in SetEnabled()?
Hi,
Match the Script name (shown in the component's Script field):
Match the Script name (shown in the component's Script field):
Code: Select all
SetEnabled(SpineBlinkPlayer, false);
Re: How should I write the component name in SetEnabled()?
Thank you for your answer, Tony!
I got it, and I noticed I was wrong in another point!
I was attached the component under the game object that I attached the Dialogue Actor component, so I should write the game object name in the SetEnabled().
Anyway, your answer make clear the way.
Thank you so much!
I got it, and I noticed I was wrong in another point!
I was attached the component under the game object that I attached the Dialogue Actor component, so I should write the game object name in the SetEnabled().
Anyway, your answer make clear the way.
Thank you so much!
Re: How should I write the component name in SetEnabled()?
Happy to help!