void Start() { anim = gameObject.GetComponent <Animator>(); masterFirePoint = this.gameObject.transform.GetChild(0).gameObject; mFirepoint = masterFirePoint.GetComponent <MasterFirepoint>(); mFirepoint.enableAttack(cadency); }