敵の作成②(敵を回転させる)

敵を回転させる
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotate : MonoBehaviour { public Vector3 rot; void Update() { transform.Rotate(rot * Time.deltaTime); } }
C#



【2021版】Danmaku(基礎/全55回)
他のコースを見る