protected void Awake() { _trackedObjects[0] = new TrackedController(); _trackedObjects[1] = new TrackedController(); _trackedObjects[2] = new TrackedObject(); _trackedObjects[3] = new TrackedObject(); }
private void Start() { _colors[0] = _home.material.color; _colors[1] = _app.material.color; _colors[2] = _dpad.material.color; _colors[3] = _trigger.material.color; _colors[4] = _grip.material.color; _controller = FindObjectOfType <DataClient>().GetController(_controllerID); }
protected override void Start() { _trackerID = _leftController ? 0 : 1; base.Start(); _controller = (TrackedController)_trackedObject; }