void Start() { setAlpha(ModeMem, alpha); setAlpha(Help, alpha); setAlpha(Reset, alpha); cameraOriginalPosition = camera.transform.position; cameraOriginalRotation = camera.transform.rotation; paths = new GameObject[6]; bsonComms = GameObject.Find ("Scripts").GetComponent<BSONComms> (); }
// Use this for initialization void Start () { radius = 1000.0f; ang = 0; elevation = 0.1f; offset = new Vector3(0, 0, 0); /* tcpSender = new TCPAsyncSender("192.168.1.103", 5555); tcpSender.StartThread(); tcpSender.AddMessage(testMsg); */ /* Kernys.Bson.BSONObject bsonObj = new Kernys.Bson.BSONObject(); bsonObj.Add ("test", "hello"); bsonSender = new BSONSender(remoteHost, remotePort); bsonSender.SendUncompressed(bsonObj); */ bsonComms = GetComponent<BSONComms> (); sentJoystickZero = false; }