animation event trouble ....function not surpported.

what does that mean?

What code are you using? Can’t help if you don’t give us the information.

private function EnableInput()
{
inputEnabled=true;
Debug.Log(“SelectMode Input enabled”);
}

in the animation view,“EnableInput (function not surpported)”

Make it a public function?

I don’t think so.the same code.it did’t work when I post this thread,but now when I check it,it works.How weird.
I didn’t change nothing of the code.
Thank you all.

next time use tags [ CODE] [ /CODE] to show your code JohnsonLi, that’s the best way to show what are you having trouble and maybe we can help you :slight_smile:

Thanks a lot,Princess.I keep this advise in mind.