/// <summary> /// Library Haptic Controls is set up to take SuitDemos, a simple class for controlling different modes of interaction with the scene /// Examples: Impulse Emanation, Impulse Traversal, Region Selection, Tracking, Click to Test /// Each SuitDemo enables/disables its critical items (which are set via inspector) /// </summary> /// <param name="demo"></param> public void SelectSuitDemo(SuitDemo demo) { //Debug.Log("Enabling: " + CurrentDemo.GetType().ToString() + "\t\t" + demo.GetType().ToString() + "\n"); CurrentDemo.DeactivateDemo(); CurrentDemo.enabled = false; CurrentDemo = demo; CurrentDemo.enabled = true; CurrentDemo.ActivateDemo(); }