private void Start() { obstacleCollision = new ObstacleCollision(transform); waterCollision = new WaterCollision(transform); squeezeAnimation = new SqueezeAnimation(transform); swipeInput = new SwipeInput(); }
private void Start() { player = GetComponent <PlayerDie>(); squeezeAnimation = new SqueezeAnimation(transform); }