コード例 #1
0
    // Start is called before the first frame update
    void Awake()
    {
        if (!inst)
        {
            inst = this;
        }

        dialoguePosition = GetComponent <DialoguePosition>();
        dialogueText     = GetComponent <DialogueText>();
        dialogueArt      = GetComponent <DialogueArt>();
        dialogueSound    = GetComponent <DialogueSound>();
        audioSource      = GetComponent <AudioSource>();
    }
コード例 #2
0
 public static void SetSoundType(DialogueSound ds)
 {
     m_instance.nextSoundType = ds;
 }