Files
jongjae0305 6c84f865d8 [Update] 휴대폰 조이스틱 연결 및 스크립트 변경
1. 휴대폰에서 실시가능하도록 조이스틱 및 버튼 입력
2. 콜라이더 및 트리거 구조 변경
3. 로테이션 단계이상함 감지 - 수정 예정
2026-04-21 17:45:51 +09:00

22 lines
331 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Gun_rotation : MonoBehaviour
{
public float RotateSpeed = 25.0f;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
transform.Rotate(0, RotateSpeed * Time.deltaTime, 0);
}
}