コード例 #1
0
    // Use this for initialization
    void Start()
    {
        amplitudeEditor = (AmplitudeEditorScript)GetComponent("AmplitudeEditorScript");
        frequencyEditor = (FrequencyEditorScript)GetComponent("FrequencyEditorScript");
        playerObject    = GameObject.FindWithTag("Player");

        mainFileBrowserScript = (ParametersFilesImportScript)GetComponent("ParametersFilesImportScript");

        audioDirector    = (AudioDirectorScript)GameObject.FindWithTag("AudioDirector").GetComponent("AudioDirectorScript");
        fpsDisplayObject = GameObject.FindWithTag("FPSDisplay");
    }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        amplitudeEditor = (AmplitudeEditorScript)GetComponent("AmplitudeEditorScript");
        frequencyEditor = (FrequencyEditorScript)GetComponent("FrequencyEditorScript");
        playerObject = GameObject.FindWithTag("Player");

        mainFileBrowserScript = (ParametersFilesImportScript)GetComponent("ParametersFilesImportScript");

        audioDirector =  (AudioDirectorScript)GameObject.FindWithTag("AudioDirector").GetComponent("AudioDirectorScript");
        fpsDisplayObject = GameObject.FindWithTag("FPSDisplay");
    }