- Home /
Question by
dansav · May 30, 2015 at 10:02 PM ·
serverstandalonephpcommand-line.exe
start unity standalone on server from php
Is it possible to start a unity standalone on a server from php. I've been investigating the pieces so far but don't know if it's possible.
Php can start an exe from a server http://php.net/manual/en/function.exec.php
A unity standalone can accept command line arguments http://docs.unity3d.com/Manual/CommandLineArguments.html
and Unity can receive arguments from command line using the following code
Using System;
String[] Data = Environment.GetCommandLineArgs();
I'm confused as to whether the php exec is the same as a command line call and whether any of this can be done.
Comment
Your answer
Follow this Question
Related Questions
communicate with standalone from php or command line 0 Answers
Network class vs php for authoritative actions? 1 Answer
Players online counter 1 Answer
Database and Unity 0 Answers