using UnityEngine;
using System.Collections;

public class HatControl : MonoBehaviour {

	#region Private Variables
	[SerializeField]
	private FadeAndDestroy _wireFadeScript;
	#endregion
	
	#region Events
	void OnBecameInvisible () {

		_wireFadeScript.Kill ();
		Destroy (gameObject);
		
	}
	#endregion
}
