コード例 #1
0
ファイル: Stage6.cs プロジェクト: connor-roche/Launch-into-VR
    private int m_TargetsAlive = 3;                                     // Keep count of targets that have not been destroyed

    // Use this for initialization
    void Start()
    {
        if (s_Instance == null)
        {
            s_Instance = this;
            m_Manager  = IntroSessionManager.s_Instance;
            m_Manager.ChangeMusic(1);

            Run();
        }
        else
        {
            Destroy(gameObject);
        }
    }