using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SatelliteTriggerer : MonoBehaviour {
	Animator satelliteAnimator;

	void Start () {
		GameObject satellite = GameObject.Find ("Satellite");
		satelliteAnimator = satellite.GetComponent<Animator> ();

	}
	
	void OnTriggerEnter2D(Collider2D col){
		satelliteAnimator.SetFloat ("AnimSpeed", 1);
	}
}
