Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 975 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 975 Bytes

ACF.UnityLiteNetLib

ACF 작업을 위한 LiteNetLib 구현 간단 테스트 프로젝트 (UDP Chat)
Simple LiteNetLib implementation test project for ACF(My Private Project).

QuickStart

  1. clone repository
  2. open project with compatible unity editor
  3. modify command line options in Assets/Editor Default Resources.
  • you can edit this in Project Settings/Command Line
  • this options for editor only.
  1. Build
  2. Create client.bat and server.bat

server.bat

Build\LiteNetChat.exe --scene=1 --serverPort=29320

client.bat

Build\LiteNetChat.exe --scene=2 --address=127.0.0.1 --port=29400 --serverPort=29320
  • -scene : the index of being loaded scene.
  • -address : server ip address ex) 123.45.678.xxx , 127.0.0.1, 192.168.0.20
  • -port : client listening port
  • -serverPort : server listening port

image