Unity51 유니티(룰렛)- 실행이 안되는 상황-"해결" using System.Collections; using System.Collections.Generic; using UnityEngine; public class RouletteController : MonoBehaviour { private float rotSpeed = 0; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { //왼쪽 버튼을 눌렀을 경우 if(Input.GetMouseButtonDown(0)) { //속도를 10으로 만든다 this.rotSpeed = 10; } this.transform.Rotate(0, 0, this.rotS.. 2021. 10. 6. 이전 1 ··· 3 4 5 6 다음