// Start is called before the first frame update void Start() { oPCUA_Interface = GetComponent <OPCUA_Interface>(); trackingPalettes = FindObjectOfType <TrackingPalettes>(); oPCUA_Interface.EventOnReconnecting.AddListener(OnReconnecting); oPCUA_Interface.EventOnConnected.AddListener(OnConnected); oPCUA_Interface.EventOnDisconnected.AddListener(OnDisconnected); }