Skip to content
Snippets Groups Projects
Select Git revision
  • 1f766e707c1bc181809bde969d318c7c832a8f5b
  • main default protected
2 results

lab-os-python.md

Blame
  • ReferencePoint.cs 619 B
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    
    public class ReferencePoint : MonoBehaviour
    {
    
        bool TouchedOnce = false;
        private void OnTriggerEnter(Collider other)
        {
           // Debug.Log("TriggerEnter");
            if (!TouchedOnce && other.gameObject.tag == "gesture")
            {
                HandController.instance.IncrementCorrectPoint();
                
                TouchedOnce = true;
            } 
        }
        // Start is called before the first frame update
        void Start()
        {
            
        }
    
        // Update is called once per frame
        void Update()
        {
            
        }
    }