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
- Blend Type
- Scrooling
- Parallax
- rotation
- Object Pooling
- CSharp #자료구조
- Object Poling
- 유니티
- Ainimation Blending
- raycast
- apk
- rigidbody
- Hpbar
- 스크롤링
- 플레이어 이동
- LayerMark
- 프리팹
- raycasting
- 2D슈팅게임
- 플레이어 방향전환
- 패럴렉스
- Vector3
- Unity
- 오브젝트 풀링
- Prefabs
- Transform
- 일시정지
- Hp바
- Animation State Machine
- joystick
Archives
- Today
- Total
목록Vector3 (1)
주녘공부일지
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/lIV5c/btrtXxhl6qS/7rByxQ7EKCAko2rdinLb5k/img.png)
Vector3 3차원 벡터와 각 x, y, z 축에 따른 위치를 표현 가능한 구조체 Vector3와 일부 같은 역할을 하는 구조체를 만든 예제 struct MyVector { public float x; public float y; public float z; public float magitude { get { return Mathf.Sqrt(x * x + y * y + z * z); } } public MyVector normalized { get { return new MyVector(x / magitude, y / magitude, z / magitude); } } public MyVector(float x, float y, float z) { this.x = x; this.y = y; this...
GameEngine/UnityEngine - Class
2022. 2. 21. 18:08