Esempio n. 1
0
    public void Send_CameraMSG(float dx, float dy, float dz, int player)//카메라 관련 메시지
    {
        sCamera sCa = new sCamera();

        sCa.flag   = (char)eMSG.em_USER_CAMERA;
        sCa.player = player;
        sCa.cx     = dx;
        sCa.cy     = dy;
        sCa.cz     = dz;
        byte[] data = StructureToByte(sCa);
        Send(C_socket, data);
    }
Esempio n. 2
0
    //end

    void Awake()
    {
        instance = this;
    }