// Use this for initialization void Awake() { if (Instance == null) { Instance = this; } }
// Use this for initialization void Start() { changeMaterial = this.GetComponent <ChangeMaterialColor>(); print("UDPRecceive Start."); thread = new Thread(new ThreadStart(ThreadMethod)); thread.Start(); }
// Use this for initialization void Start() { changeMaterial = this.GetComponent <ChangeMaterialColor>(); }