void Start() { // スタート時は外側にいるので中心を向いておく. transform.LookAt(Vector3.zero); player = GameObject.Find("/Field/Player"); torpedo = GetComponent <TorpedoGenerator>(); currentTime = 0.0f; valid = true; speed.Usual(); rot.Usual(); }
void Start() { // 在开始时处于外侧因此设置朝向中心 transform.LookAt(Vector3.zero); player = GameObject.Find("/Field/Player"); torpedo = GetComponent <TorpedoGenerator>(); currentTime = 0.0f; valid = true; speed.Usual(); rot.Usual(); }