버턴누르면 차색깔 바뀌게 만들기 - 차의 머티리얼을 가져옴- 차를 누르면 콜리젼이 발생하도록 콜리젼 엔터에 색을 변화시키는 함수를 작성 123456789101112131415161718192021222324252627282930313233343536 using System.Collections;using System.Collections.Generic;using UnityEngine.UI;using UnityEngine; public class CarColorChange : MonoBehaviour { //실제 에셋의 메터리얼을 가져오는 경우이다. public Material mat = null; // Use this for initialization void Start () { //에셋의 메터리얼을 바.....
원문 링크 : [유니티C#][AR] 누르면 색변하는 차 만들기.1