コード例 #1
0
        public string Action(ProxyAcademy academy, IPEndPoint endPoint)
        {
            this.endPoint = endPoint;
            GameObject agent = academy.SpawnAgent(this.id, position, Quaternion.Euler(rotation.x, rotation.y, rotation.z), endPoint);

            return("ok");            // If this is executed we're already connected m'kay
        }
コード例 #2
0
ファイル: LogCommand.cs プロジェクト: Powback/MLAgents-proxy
 public override string Action(ProxyAcademy academy)
 {
     return(value);            // If this is executed we're already connected m'kay
 }
コード例 #3
0
 public void SetAcademy(ProxyAcademy academy)
 {
     this.academy = academy;
 }
コード例 #4
0
 public virtual string Action(ProxyAcademy academy)
 {
     throw new NotImplementedException();
 }