Animating text.

Hello.

I am working on a casual game and being new to unity/scripting I am feeling my way around. I am creating a game with a first person view and would like some advice on where I could find out more information about animating text. I have created the text in 3ds Max and have animated it. I imported it into unity and want the text to play once the player collides with another object. I want the text to remain “playing” in the players “view” as an animation until a task is completed. Any direction would be helpful.

Thanks,
Quickcord

If your mesh has an animation then it should be automatically imported into unity. Try this:

Animation myAnimation;

myAnimation = gameObject.GetComponent<Animation>();

myAnimation.Play();