예제 #1
0
    //When event is triggered, do all the things to the player and camera
    //[TODO] Move a lot of this to the world event manager most likely
    public void EventTriggerEntered()
    {
        //Pause player
        //pRunner.StopRunner();
        pEventHandler.MovePlayerToLocation(playerEventWaitLocation.position);

        //Move camera
        mainGameCamera.WatchObject(cameraHoldLocation.position, cameraLookAtLocation);

        //Fire a conversation
        conManager.ActivateEvent(associatedConversationID);
        //[TODO] setup a listener here? Or pass a reference to this to receive a reply?
        worldEventMan.EventFired(this);
    }