Raccoon animation and scene changes #415

Merged
glencelow merged 16 commits from PlayerController into main 2023-03-10 17:28:16 +08:00
1 changed files with 8 additions and 2 deletions
Showing only changes of commit 3f4674e38f - Show all commits

View File

@ -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!");
} }