Skip to content

sassembla/UEaaS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#UEaaS

##Unity Editor as a Server context

PROJECT_FOLDER/Assets/ServerContext/Editor/ServerContext.cs is context of gaming server which is running in the Unity Editor.

##dependencies

UniRx
MiniJson
Redis 2.8.19 or later

##start

  1. add UniRx and MiniJSON from somewhere to PROJECT_FOLDER/Assets/Libs/.
  2. cd PROJECT_FOLDER/Server
  3. sh run.sh
  4. Open Main.unity scene
  5. Play game.

you can see round-tripped JSON data in console and PROJECT_FOLDER/server.log.

##stop

  1. cd PROJECT_FOLDER/Server
  2. sh stop.sh

##settings redis host & port is hardcoded in below. PROJECT_FOLDER/Assets/ServerContext/Editor/RedisConnectionController.cs

and

PROJECT_FOLDER/Server/bin/lua/client.lua

##!Mac/Win only!(since Unity's limitation) yes. and run on Windows is not easy. good luck.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published