Hi All,
I have run into a small issue. I have a prefab which is tile, when a character enters the tile a custom animation plays on the character model.
The problem is, as GameObject references are not saved/stored on prefabs, I have to set the reference using a global variable.
I now have a Goblal Variable which is a gameobject type and holds the player reference.
The issue is everything works, except the custom animation, the error message states that the animator has not been initialized.
Anyone know what i'm doing wrong?
Thanks