// Use this for initialization protected void Awake() { dev = GetComponent <WeaponDevelopment> (); anim = GetComponent <Animator> (); }