void Start()
 {
     rad  = this.gameObject.GetComponent <getRadians>();
     rads = rad.returnrot();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     rads      = GameObject.Find("Joint Monitor").GetComponent <getRadians>();
     targetVal = rads.returnrot();
 }