Beispiel #1
0
        public static void PlayVoice(LoadVoice __instance)
        {
            if (__instance.audioSource == null || __instance.audioSource.clip == null || __instance.audioSource.loop)
            {
                return;
            }

            if (HSceneProcInstance != null)
            {
                Caption.DisplayHSubtitle(__instance);
            }
            else if (ActionGameInfoInstance != null && WasTouched)
            {
                Caption.DisplayDialogueSubtitle(__instance);
            }

            //Captions for chara maker
            //There doesn't appear to be any text for these spoken lines. May have to transcribe them manually or something

            //assetBundleName:custom/samplevoice_00.unity3d assetName:csv_08_00
            //if (__instance.assetBundleName == "custom/samplevoice_00.unity3d" && __instance.assetName == "csv_08_00")
            //{
            //    Caption.InitGUI();
            //    Caption.DisplaySubtitle(__instance, "はじめまして、よろしくね!");
            //}

            WasTouched = false;
        }
Beispiel #2
0
        public static void PlayVoice(LoadVoice __instance)
        {
            if (__instance.audioSource == null || __instance.audioSource.clip == null || __instance.audioSource.loop)
            {
                return;
            }

            if (HSceneProcInstance != null)
            {
                Caption.DisplayHSubtitle(__instance);
            }
            else if (ActionGameInfoInstance != null && GameObject.Find("ActionScene/ADVScene") == null)
            {
                Caption.DisplayDialogueSubtitle(__instance);
            }
            else if (CustomSceneInstance != null)
            {
                Caption.DisplayCharaMakerSubtitle(__instance);
            }
        }