Unity (C#)/Old
유니티 일시정지 기능 만들기
안녕하세요 ~ 오늘은 게임에서 많이들 쓰이는 일시정지 기능에 대해서 알아보려고 합니다 :D 굳이 추가할 필요 없지만 멈춰 있다는 걸 보여드리기 위해서 저는 Plane과 Cube를 배치할게요 ~ 1234567891011using System.Collections;using System.Collections.Generic;using UnityEngine; public class Rotate : MonoBehaviour { void Update() { transform.Rotate(new Vector3(1, 1, 1) * 90 * Time.deltaTime); }} Colored by Color Scriptercs그리고 공중에 띄어놓은 Cube 오브젝트를 천천히 회전하도록 만들게요. 굳이 해야하는 작업은 아닙..
2018. 10. 4. 20:44
최근댓글