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); }
public void sendMoveToServer(Vector3 move) { GameObject o = GameObject.Find("connexionServer"); connexionClient cc = (connexionClient)o.GetComponent(typeof(connexionClient)); cc.envoieMove(transform.position, move); }