public void OnEnable() { tracker = (metaioTracker)target; metaioSDK = (metaioSDK) GameObject.Find("metaioSDK").GetComponent("metaioSDK"); if(!metaioSDK) Debug.LogError("Could not find the metaioSDK, with the metaioSDK script attached"); }
public void OnEnable() { tracker = (metaioTracker)target; metaioSDK = (metaioSDK)GameObject.Find("metaioSDK").GetComponent("metaioSDK"); if (!metaioSDK) { Debug.LogError("Could not find the metaioSDK, with the metaioSDK script attached"); } }