Setup() 공개 메소드

public Setup ( ) : bool
리턴 bool
예제 #1
0
    private static void RunSetupImpl()
    {
        try
        {
            Debug.Log("WwiseUnity: Running install setup...");

            AkSceneUtils.CreateNewScene();

            WwiseSetupWizard.Setup();

            Debug.Log("WwiseUnity: Refreshing asset database.");
            AssetDatabase.Refresh();

            Debug.Log("WwiseUnity: End of setup, exiting Unity.");
            EditorApplication.Exit(0);
        }
        catch (Exception e)
        {
            Debug.LogError("WwiseUnity: Exception caught: " + e.ToString());
            EditorApplication.Exit(1);
        }
    }
    public static void RunDemoSceneSetup()
    {
        try
        {
            Debug.Log("WwiseUnity: Running demo scene setup...");

            AkSceneUtils.CreateNewScene();

            WwiseSetupWizard.Setup();

            AkSceneUtils.OpenExistingScene("Assets/WwiseDemoScene/WwiseDemoScene.unity");

            Debug.Log("WwiseUnity: Refreshing asset database.");
            AssetDatabase.Refresh();

            Debug.Log("WwiseUnity: End of demo scene setup, exiting Unity.");
            EditorApplication.Exit(0);
        }
        catch (Exception e)
        {
            Debug.LogError("WwiseUnity: Exception caught: " + e.ToString());
            EditorApplication.Exit(1);
        }
    }