using UnityEngine; using UnityEngine.UI; public class SoundPlay : MonoBehaviour { AudioSource audioSource; pri […]
//playerに using UnityEngine; public class MovingObj : MonoBehaviour { //プレイヤーのスピード public float joystickMoveSp […]
//cameraにアタッチ using UnityEngine; public class CameraMove : MonoBehaviour { [SerializeField] Transform playerTr […]
//SubCameraの設定 //SubCanvasの設定(Canvasをコピー) // GameObjectにアタッチ using UnityEngine; using UnityEngine.UIElements; […]