private bool isStimulating; //Flag of the feedback using very week EMS(Electric Muscle Stimulation) ///////////////////////////////////////////////////// /// AWAKE ///////////////////////////////////////////////////// void Awake() { Debug.Log("UnlimitedHand awake"); if (sInstance == null) { sInstance = this; } DontDestroyOnLoad(this); }
// Use this for initialization void Start() { // Create Log file name DateTime currentDateTime = DateTime.Now.ToLocalTime(); mLogFileName = String.Format("{0}.txt", getCurrentDateTimeText()); mUnlimitedHand = UH.global; mUHController = UHController.global; ChangeAngle(mCurrentAngle); }