Raccoon animation and scene changes #415
|
@ -57,11 +57,17 @@ public class PlayerAnimations : Script
|
|||
if (!BagAnimator)
|
||||
Debug.LogError("Bag Animator is MISSING!");
|
||||
|
||||
silhoPlayerAnimator = silhouettePlayer.GetComponent<Animator>();
|
||||
if(!silhouettePlayer)
|
||||
silhoPlayerAnimator = silhouettePlayer.GetComponent<Animator>();
|
||||
else
|
||||
Debug.LogError("Silho Player is MISSING!");
|
||||
if (!silhoPlayerAnimator)
|
||||
Debug.LogError("Silho Player Animator is MISSING!");
|
||||
|
||||
silhoBagAnimator = silhouetteBag.GetComponent<Animator>();
|
||||
if(!silhouetteBag)
|
||||
silhoBagAnimator = silhouetteBag.GetComponent<Animator>();
|
||||
else
|
||||
Debug.LogError("Silho bag is MISSING!");
|
||||
if (!silhoBagAnimator)
|
||||
Debug.LogError("Silho Player Animator is MISSING!");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue