/// <summary>
        /// Lädt den relevanten Dialog bzw. die Infos über die <see cref="DialogLoader"/> aus dem Scripts-Objekt
        /// </summary>
        protected virtual void LoadDialog()
        {
            GameObject   scripts      = GameObject.Find("Scripts");
            DialogLoader dialogLoader = scripts.GetComponent <DialogLoader>();

            artifactDialog = dialogLoader.GetDialog <Artifact>(name) as Artifact;
        }
Пример #2
0
        /// <summary>
        /// Überschreibt die Methode
        /// </summary>
        protected override void LoadDialog()
        {
            GameObject   scripts      = GameObject.Find("Scripts");
            DialogLoader dialogLoader = scripts.GetComponent <DialogLoader>();

            standardInfos = new StandardNPCInfos(artifactName);
            npcDialogs    = dialogLoader.GetDialog <NPC>(artifactName) as NPC;
        }