Ejemplo n.º 1
0
    private void Start()
    {
        // Assign components to variables
        c = gameObject.GetComponent <CircularMenuSelection>();
        p = gameObject.GetComponent <PhotoCaptureUtility>();

        // Bind photo capture to click event
        c.OnButtonClicked += CaptureFrameToPhoto;
    }
Ejemplo n.º 2
0
 private void Awake()
 {
     samplingHolo_GO      = Resources.Load("Holo Placement/Sampling Hologram") as GameObject;
     sitescreeningHolo_GO = Resources.Load("Holo Placement/Sitescreening Hologram") as GameObject;
     photoCaptureUtility  = gameObject.GetComponent <PhotoCaptureUtility>();
 }