// Use this for initialization void Start() { manager = transform.parent.GetComponent <ScalesManagerScript>(); }