반응형
코드 작성
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Gizmo : MonoBehaviour
{
public Color color = Color.blue;
public float radius = 1.0f;
void OnDrawGizmos()
{
Gizmos.color = color;
Gizmos.DrawSphere(transform.position, radius);
}
}
반응형