private static void TagReachedResponseUnwrapper(TagReachedResponse trr) { AutoNext.ResetEverything(); //Disable Auto-next GameObject actorConcerned = Actors.allActors[trr.actorId]; //Make the send message threadsafe SendMessageContext context = new SendMessageContext(actorConcerned, "TagReached", trr, SendMessageOptions.RequireReceiver); SendMessageHelper.RegisterSendMessage(context); }
private static void EOTResponseUnwrapper() { //EOT is reached-> No more Auto-next AutoNext.ResetEverything(); Debug.Log("EOT reached"); }