예제 #1
0
    /// 初期化
    void Start()
    {
        // E1_Moveを取得
        move = GetComponent <E1_Move>();
        // カメラを取得
        _camera = GameObject.FindGameObjectWithTag("MainCamera");

        audioSource = GetComponent <AudioSource>();

        clipLength = BreakSound.Length;
    }
예제 #2
0
 /// 初期化
 void Start()
 {
     move         = GetComponent <E1_Move>();
     audioSource  = GetComponent <AudioSource>();
     landingLengh = LandingSound.Length;
 }