예제 #1
0
    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);
    }
예제 #2
0
 private static void EOTResponseUnwrapper()
 {
     //EOT is reached-> No more Auto-next
     AutoNext.ResetEverything();
     Debug.Log("EOT reached");
 }