본문 바로가기

코딩inf

검색하기
코딩inf
프로필사진 D-coding

  • 코딩 (7)
    • C언어 (1)
      • 프로젝트 (0)
      • 개념 (1)
    • Python (0)
    • 리버싱 (0)
      • 레나튜토리얼 (0)
    • Html, Css, JavaScripts (0)
    • 기타 (0)
    • Unity (6)
      • 프로젝트 (0)
      • TowerDiffence (6)
    • 3D 편집 (0)
      • Blender (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2021/06   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Tags
  • 인사
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2021/06/08 (1)

코딩inf

#4 에임 위에 있는 오브젝트 색 변화시키기(6/8)

진짜 이거 찾는데만 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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바