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