Search Unity

Unity Serializer WhyDoIDoIt... Animator help

Discussion in 'Scripting' started by SirMarley, Aug 22, 2014.

  1. SirMarley

    SirMarley

    Joined:
    Jul 26, 2014
    Posts:
    115
    Hey guys...

    I am trying to implement the checkpoint part of the serialization from the package I downloaded from the store and I have one little problem that maybe, some of you already passed through and can help...

    When I resume the game, from the checkpoint I created by using LevelSerializer.Checkpoint(); everything seems to be working fine, but the animations, meaning that I dont have any of them and, since the player (a spaceship) is animated all the time, I dont even see it (funny, hehe) and I receive the

    Animator has not been initialized.
    UnityEngine.Animator:SetInteger(String, Int32)

    Does anyone know how to fix this?

    (and perhaps, you may know, also, how to "delete" this checkpoint using some function, if I need to)

    Thanks a lot!!!
     
  2. adampound

    adampound

    Joined:
    Jul 14, 2014
    Posts:
    28
    You figure this out? Im having same issues