forked from cgvr/DeltaVR
add some voicelines to archery range minigame
This commit is contained in:
@@ -19,6 +19,7 @@ public class ArcheryRangeModelGenerationController : MonoBehaviour
|
||||
public Material modelDisplayActiveMaterial;
|
||||
public Transform wire;
|
||||
public Material wireActiveMaterial;
|
||||
public NPCController npcController;
|
||||
|
||||
private bool modelGenerationInProgress;
|
||||
private EventInstance printingSound;
|
||||
@@ -56,6 +57,8 @@ public class ArcheryRangeModelGenerationController : MonoBehaviour
|
||||
{
|
||||
modelGenerationButton.Deactivate();
|
||||
}
|
||||
|
||||
npcController.SpeakVoiceLine(3);
|
||||
}
|
||||
|
||||
private async void InvokeModelGeneration()
|
||||
@@ -76,6 +79,7 @@ public class ArcheryRangeModelGenerationController : MonoBehaviour
|
||||
GeneratedModel = spawnedObject;
|
||||
|
||||
printingSound.setParameterByName("3DPrinterPrintingJob", 1);
|
||||
npcController.SpeakVoiceLine(4);
|
||||
|
||||
OnModelReady();
|
||||
modelGenerationButton.Deactivate();
|
||||
|
||||
Reference in New Issue
Block a user