Skip to content

TCP server running inside Unity Editor that you can order compilation and receive syntax error

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

konbraphat51/UnityCompilerTcpServer

Repository files navigation

UnityCompilerTcpServer

This is a TCP server runs on Unity Editor. You can request to compile and earn syntax errors in the project like this:

{
	"messages": [
		{
			"type":"Error",
			"message":"Assets\\Dodgeball\\Scripts\\AgentCubeGroundCheck.cs(14,94): error CS1585: Member modifier 'public' must precede the member type and name",
			"file":"Assets\\Dodgeball\\Scripts\\AgentCubeGroundCheck.cs",
			"line":14,
			"column":94
		}
	]
}

How to use

Installing

Just copy CompilerServer.cs into your project.

Usage

  1. navigate Window -> Compiler TCP Server
image
  1. Run the server
image
  1. Send TCP request Anything is OK with the content. It does not read the content.
    This simple Python script would help you

About

TCP server running inside Unity Editor that you can order compilation and receive syntax error

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks