Pinguin als Standardcharacter mit Animation

This commit is contained in:
brausjonas
2023-03-31 02:39:36 +02:00
parent 94323a8404
commit 725a68b90c
46 changed files with 3436 additions and 1490 deletions
+5 -1
View File
@@ -23,12 +23,16 @@ public abstract class Player : MonoBehaviour
public UIHandler uiHandler;
public Item[] items = new Item[3];
public Item.Type activeItem = Item.Type.None;
protected float rotationDamping = 10;
protected Animator animator;
//for coin animation
private AnimationHandler animationHandler;
private void Start()
protected void Start()
{
animator = GetComponent<Animator>();
animationHandler = GetComponentInChildren<AnimationHandler>();
}