mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-10-11 18:19:11 +00:00
AnimationControllerTester can set a specific animation (instead of cycling)
This commit is contained in:
3 files changed
+3210
-145
No files matched your search
@@ -3,12 +3,14 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class WaterSpirit : MonoBehaviour {
|
||||
private Transform player;
|
||||
public BoxCollider2D boxCollider;
|
||||
public float swimSpeed = .25f;
|
||||
|
||||
private BoxCollider2D boxCollider;
|
||||
private Transform player;
|
||||
private Rigidbody2D rb;
|
||||
private Vector2 movement = Vector2.zero;
|
||||
private float sizeOffset = 1;
|
||||
private bool activated = false;
|
||||
|
||||
void Start() {
|
||||
rb = this.GetComponent<Rigidbody2D>();
|
||||
|
||||
Reference in new issue
Block a user