void Start() { Period = 0; MotherShip = GameObject.FindWithTag("MotherShip"); Jet = GameObject.Find("JET").GetComponent <Transform>(); Col = GetComponent <SphereCollider>(); /*ロックオンシステム*/ Sys = MotherShip.GetComponent <LockOnSystem>(); if (Sys.getConcentrationsCount() != 0) { NonTarget = 0; Trans = Sys.getConcentration(); } else { NonTarget = 1; } Audio = GetComponent <AudioSource>(); if (Dammy == 0) { Audio.PlayOneShot(Audio.clip); } }