Example #1
0
        public void sendMoveToServer()
        {
            GameObject      o  = GameObject.Find("connexionServer");
            connexionClient cc = (connexionClient)o.GetComponent(typeof(connexionClient));

            cc.envoieMove(m_CharacterController.transform.position, m_CharacterController.transform.forward);
        }
Example #2
0
        public void sendMoveToServer(Vector3 move)
        {
            GameObject      o  = GameObject.Find("connexionServer");
            connexionClient cc = (connexionClient)o.GetComponent(typeof(connexionClient));

            cc.envoieMove(transform.position, move);
        }