Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     PoseSyncer.Instance.OnSync += Pose_OnSync;
     CommandRecognizer.Instance.OnPhraseRecognized += Speech_OnRecognized;
     SwipeRecognizer.Instance.OnSwipe += Swipe_OnRecognize;
     Seamstress = Narrator.Instance;
     Seamstress.Welcome();
 }
Exemple #2
0
 private void Awake()
 {
     Instance              = this;
     player                = GetComponent <AudioSource>();
     said_welcome          = false;
     said_showme           = false;
     said_openeddrawer     = false;
     said_putsomethingon   = false;
     said_stillindrawer    = false;
     said_wearingsomething = false;
     said_explainedgoodbye = false;
     said_goodbye          = false;
     IsSpeaking            = false;
 }