Ejemplo n.º 1
0
 void EventTwoOne()
 {
     enemyManager.makeEnemyAttackPlayer(new Vector3(-72.4f, -11f, 0), 20, 20, 6, enemyPrefab);
     player.transform.LookAt(PositionTarget[1]);
     talkingManager = TalkingManager._instance;
     talkingManager.PlayEvent(2);
     nextEvent.methodName = "EventTwoTwo";
 }
Ejemplo n.º 2
0
 void PlayerTalk(int talkEventID, EventDelegate nextmethod, Transform targetPosition)
 {
     player.transform.LookAt(targetPosition);
     talkingManager = TalkingManager._instance;
     talkingManager.PlayEvent(talkEventID);
     nextEvent = nextmethod;
 }
Ejemplo n.º 3
0
 //对话1
 void EventOneTwo()
 {
     talkingManager = TalkingManager._instance;
     talkingManager.PlayEvent(1);
     nextEvent.methodName = "EventOneThree";
 }
Ejemplo n.º 4
0
 void Talk(int talkEventID, EventDelegate nextmethod)
 {
     playerState.ChangeAction(PlayerState.PlayerAction.Locked);
     talkingManager = TalkingManager._instance;
     talkingManager.PlayEvent(talkEventID);
     nextEvent = nextmethod;
 }