// Update is called once per frame void Update() { if (1.0f <= move.interpolate) { attack.Hit(move.end); Object.Destroy(gameObject); } }