Beispiel #1
0
        // Start is called before the first frame update
        void Start()
        {
            // get MPL palm
            mplHand = GameObject.Find("rPalm");


            // get movement arbiter
            arbiter = GameObject.Find("vMPLMovementArbiter").GetComponent <vMPLMovementArbiter>();

            // get finger tip force sensors
            sensors = GameObject.FindObjectOfType <FingerTipForceSensors>();
        }
 // Start is called before the first frame update
 void Start()
 {
     arbiter = GameObject.Find("vMPLMovementArbiter").GetComponent <vMPLMovementArbiter>();
     sensors = (FingerTipForceSensors)GameObject.FindObjectOfType <FingerTipForceSensors>();
     hud     = GameObject.Find("HUD").GetComponent <TMPro.TextMeshProUGUI>();
 }