Esempio n. 1
0
    private void Awake()
    {
        textField = UtilMethods.GetOb("--USER INTERFACES", "textField");
        ControlUI = UtilMethods.GetOb("--USER INTERFACES", "ControlUI");

        ch_name = UtilMethods <Text> .GetComponent(textField, "ch_name");

        ch_talk = UtilMethods <Text> .GetComponent(textField, "ch_talk");

        characters = UtilMethods <Image> .GetComponentsInChildren("--IMAGES", "characters");

        bg_pic = UtilMethods <Image> .GetComponent("--IMAGES", "bg_pic");

        bgm = UtilMethods <AudioSource> .GetComponent("--VOICES", "bgm");

        effectVoice = UtilMethods <AudioSource> .GetComponent("--VOICES", "effectVoice");

        voice = UtilMethods <AudioSource> .GetComponent("--VOICES", "voice");
    }