// Start is called before the first frame update void Start() { surfaceDetection = GetComponent <SurfaceDetection>(); caliperEventHandler = GetComponent <CaliperEventHandler>(); firebaseHandler = GetComponent <FirebaseHandler>(); placeButton.onClick.AddListener(PlaceButtonEvent); resetButton.onClick.AddListener(ResetAnchor); }
// Start is called before the first frame update void Start() { arNoteCreation = GameObject.Find("Script Manager").GetComponent <ARNoteCreation>(); caliperEventHandler = GameObject.Find("Script Manager").GetComponent <CaliperEventHandler>(); }