// Start is called before the first frame update void Start() { lightComponent = this.gameObject.GetComponent <Light>(); baseIntensity = this.lightComponent.intensity; movementEstimator = control.GetComponent <MovementEstimator>(); globalControls = this.gameObject.GetComponentInParent <GlobalControls>(); }
// Start is called before the first frame update void Start() { audioSource = this.gameObject.GetComponent <AudioSource>(); movementEstimator = control.GetComponent <MovementEstimator>(); globalControls = this.gameObject.GetComponentInParent <GlobalControls>(); }
// Start is called before the first frame update void Start() { baseScale = this.gameObject.transform.localScale; movementEstimator = control.GetComponent <MovementEstimator>(); globalControls = this.gameObject.GetComponentInParent <GlobalControls>(); }