// Start is called before the first frame update void Start() { charge = GetComponentInParent <TestDeviceLogic>(); }
// Start is called before the first frame update void Start() { charge = GetComponentInChildren <TestDeviceLogic>(); myTarget = GameObject.FindGameObjectWithTag("Orb"); }