250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- rotation
- Hp바
- Blend Type
- Unity
- Object Pooling
- 오브젝트 풀링
- 유니티
- raycast
- 2D슈팅게임
- Prefabs
- CSharp #자료구조
- Animation State Machine
- Vector3
- 일시정지
- raycasting
- Transform
- Ainimation Blending
- 패럴렉스
- joystick
- 프리팹
- Hpbar
- apk
- 스크롤링
- Object Poling
- 플레이어 방향전환
- rigidbody
- LayerMark
- Parallax
- Scrooling
- 플레이어 이동
Archives
- Today
- Total
목록Transform (1)
주녘공부일지
[Unity3D] position (위치) // 플레이어 이동 예제
1. 3D 플레이어 이동 구현 ( position ) using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { [SerializeField] float _speed = 10.0f; void Update() { if (Input.GetKey(KeyCode.W)) transform.position += new Vector3(0f, 0f, 1f) * Time.deltaTime * _speed; if (Input.GetKey(KeyCode.S)) transform.position -= new Vector3(0f, 0f, 1f) * Time.de..
GameEngine/UnityEngine - Class
2022. 2. 21. 16:48