예제 #1
0
        //
        public override void OnStart()
        {
            drinker = gameObject.GetComponent <L_Character_Drinker> ();
            seat    = L_ActorManager.It.Find <L_Actor_Seat> (drinker.SeatID);
            GameEventMachine.SendEvent(GameEventID.Event_Drinker_LeaveSeat, drinker.SeatID, drinker.ID);

            L_Actor_Door door = L_ActorManager.It.ActorRoot.GetComponentInChildren <L_Actor_Door>();

            drinker.MoveTarget = door.ExitTran;
        }
예제 #2
0
 public override void OnStart()
 {
     IsDoorFull = true;
     L_Actor_Door[] doors = L_Actor_Door.GetAllDoors();
     for (int i = 0; i < doors.Length; i++)
     {
         if (doors [i].IsEmpty)
         {
             IsDoorFull = false;
             return;
         }
     }
 }
예제 #3
0
        public override void OnStart()
        {
            L_Actor_Door door = L_ActorManager.It.ActorRoot.GetComponentInChildren <L_Actor_Door>();

            L_CharacterData.CreateCharacter(0, door.EnterTran.position, door.EnterTran.rotation);
        }