#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
- add UniRx and MiniJSON from somewhere to PROJECT_FOLDER/Assets/Libs/.
- cd PROJECT_FOLDER/Server
- sh run.sh
- Open Main.unity scene
- Play game.
you can see round-tripped JSON data in console and PROJECT_FOLDER/server.log.
##stop
- cd PROJECT_FOLDER/Server
- 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.