예제 #1
0
    private void Awake()
    {
        gamecon = GameObject.FindGameObjectWithTag(Tags.gameController)
            .GetComponent<GameController>();
        bgm = GameObject.FindGameObjectWithTag(Tags.gameController)
            .GetComponent<BGMManager>();
        dman = GetComponent<DialogManager>();
        cam = GameObject.FindGameObjectWithTag(Tags.mainCamera).GetComponent<CinematicCamera>();
        alpha = GameObject.Find("Alpha").GetComponent<Actor>();
        renroh = GameObject.Find("Renroh").GetComponent<Actor>();
        StartCoroutine(renroh.crouch());

        dialogs = new List<Dialog>();

        dialogs.Add(new Dialog("Renroh", "...... You're really tough......"));
        dialogs.Add(new Dialog("Alpha", "It's enough! Stop please."));
        dialogs.Add(new Dialog("Renroh", "No! I'm not going to be \"denied\" again!", 3));
        dialogs.Add(new Dialog("Renroh", "I'll show you my true power! You'll regret soon!", 3));
    }