// Use this for initialization void Start() { //Opening port to arduino Open(); //initializing ball mass bts = gameObject.GetComponent <BallTriggeringScript>(); }
// Use this for initialization void Start() { bts = ball.GetComponent <BallTriggeringScript>(); rb = ball.GetComponent <Rigidbody>(); ab = ball.GetComponent <ArduinoBridge>(); }
// Use this for initialization void Start() { rend = GetComponent <Renderer>(); rb = GetComponent <Rigidbody>(); btss = GetComponent <BallTriggeringScript>(); }
// Use this for initialization void Start() { btsTrigger = ball.GetComponent <BallTriggeringScript>(); delete = btsTrigger.entered; }