Interaction manager is the component that deals with hand interactions.
Inheritance: UnityEngine.MonoBehaviour
Exemplo n.º 1
0
        //----------------------------------- end of public functions --------------------------------------//
        void Start()
        {
            instance = this;
            interactionInited = true;

            customCursor = MGC.Instance.mouseCursor.GetComponent<Game.CursorReference>().cursorReference;
        }
Exemplo n.º 2
0
 void OnDestroy()
 {
     // uninitialize Kinect interaction
     if (interactionInited)
     {
         interactionInited = false;
         instance = null;
     }
 }