목록2021/06/08 (1)
코딩inf
진짜 이거 찾는데만 2시간 걸렸는데 알고보니 매우 간단했네요; 아무튼 코드는 아래와 같습니다. using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class Ray : MonoBehaviour { private RaycastHit hit; public TextMeshProUGUI look; public GameObject[] before; public Material[] MA; void Start() { hit.collider.GetComponent(); } void Update() { Raycast(); meshrenderer(); } vo..
Unity/TowerDiffence
2021. 6. 8. 11:54