示例#1
0
    public void FixedUpdatePlayerMovement()
    {
        if (!isDead)
        {
            shoot += Time.deltaTime;
            Jump();
            Move();
            UpdatePlayerAnimation();

            //
            UIinformationMgr.GetInst().SetPlayerHp(this.hp);
        }
    }
示例#2
0
    private void Update()
    {
        //1.미니맵표시
        roomMgr.UpdatePlayerPosinMinimap();

        //2.플레어이 키 입력
        player.UpdatePlayerMovement();

        //1.현재 방 몬스터 탐색
        roomMgr.rooms[roomMgr.StartYpos, roomMgr.StartXpos].CheckIsClearRoom();
        roomMgr.rooms[roomMgr.StartYpos, roomMgr.StartXpos].UpdateDungeon();
        roomMgr.FindClearRoom();



        //InGame UI 업데이트
        UIinformationMgr.GetInst().InGameUIupdate();
    }
示例#3
0
 //나중에 Update에 옮기자
 private void FixedUpdate()
 {
     attackTime += Time.deltaTime;
     UIinformationMgr.GetInst().SetBossHP(this.Hp, this.MaxHp);
 }