Beispiel #1
0
 void Start()
 {
     RigidInput = GetComponent<_Utilities>();
     //RigidInput.StartCoroutine(RigidInput.FlyAccelGyro());
     myBody = gameObject.GetComponent<Rigidbody>();
     //updatePos = RigidInput.AccelVector;
     //updateRot = RigidInput.GyroVector;
 }
 void Start()
 {
     Actions = GetComponent<RoboAction>();
     _network = GetComponent<Network_Protocols>();
     util = GetComponent<_Utilities>();
     random = new System.Random();
     ping = util.ping;
     pingRear = util.pingRear;
     // start it up...
     //util.StartCoroutine(util.ParseNetwork());
 }