// Use this for initialization void Awake() { textMesh = gameObject.GetComponent <TextMesh>(); needsMonitor = gameObject.GetComponentInParent <NeedsMonitor>(); }
// Use this for initialization void Awake() { textMesh = gameObject.GetComponent <TextMesh>(); needsMonitor = gameObject.GetComponentInParent <NeedsMonitor>(); }