Search Unity

How play baked animation in Prefab

Discussion in 'Prefabs' started by leoniddeutschmail, Jul 9, 2022.

  1. leoniddeutschmail

    leoniddeutschmail

    Joined:
    Aug 14, 2021
    Posts:
    1
    Hi!

    In 3Ds Max 10 I made model and added animation.
    After this, I exported my model with animation as FBX into Unity.

    In inspector I can see and play my animation, then I add me prefab to scene.


    But I can't play my animation programmatically:
    Mu prefab doesn't have Animator component, and if I add it manually, I can't get Animator component in the scxript - it always null.

    upload_2022-7-9_15-10-38.png

    So I don't know, how can I play baked animation from prefab?

    Thank you