2013-06-17 12:23:36 -06:00
|
|
|
using DFHack;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class TestScript : MonoBehaviour {
|
|
|
|
RemoteClient remoteClient = new RemoteClient();
|
|
|
|
// Use this for initialization
|
|
|
|
void Start () {
|
2013-07-20 22:58:46 -06:00
|
|
|
if (!remoteClient.connect())
|
|
|
|
Debug.LogError("Could not connect");
|
|
|
|
else
|
|
|
|
{
|
|
|
|
remoteClient.run_command("ls", new List<string>());
|
|
|
|
}
|
2013-06-17 12:23:36 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
// Update is called once per frame
|
|
|
|
void Update () {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|