示例#1
0
 // envoie !!!
 void Start()
 {
     ///////// Pour l'envoie !!!
     //
     if (send == null) send = GameObject.Find("Main Camera");
     if (send != null) writer = (JitSend)send.GetComponent("JitSend");
     if (writer != null) valid = true;
     ////////// envoie !!
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     if (send == null)
     {
         send = GameObject.Find("Main Camera");
     }
     if (send != null)
     {
         writer = (JitSend)send.GetComponent("JitSend");
     }
     if (writer != null)
     {
         valid = true;
     }
 }
示例#3
0
    // envoie !!!


    void Start()
    {
        ///////// Pour l'envoie !!!
        //
        if (send == null)
        {
            send = GameObject.Find("Main Camera");
        }
        if (send != null)
        {
            writer = (JitSend)send.GetComponent("JitSend");
        }
        if (writer != null)
        {
            valid = true;
        }
        ////////// envoie !!
    }
示例#4
0
 // Use this for initialization
 void Start()
 {
     if (send == null) send = GameObject.Find("Main Camera");
     if (send != null) writer = (JitSend)send.GetComponent("JitSend");
     if (writer != null) valid = true;
 }