Example #1
0
 // 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();
    }
Example #3
0
 // Use this for initialization
 void Start()
 {
     changeMaterial = this.GetComponent <ChangeMaterialColor>();
 }