Example #1
0
    // Use this for initialization
    void Start()
    {
        scp = new SC_CHARACTERINFOSET_PACKET();
        scp.characterinfo = new SC_CHARACTERINFO_PACKET[4];

        stat[0] = GameObject.Find("StatusBox1").GetComponent <StatusBox>();
        stat[1] = GameObject.Find("StatusBox2").GetComponent <StatusBox>();
        stat[2] = GameObject.Find("StatusBox3").GetComponent <StatusBox>();
        stat[3] = GameObject.Find("StatusBox4").GetComponent <StatusBox>();

        nm = GameObject.Find("NetWorkManager").GetComponent <NetWorkManager>();
        nm.SendRequestSignal(NetworkController.CS_REQCHR);
    }