Esempio n. 1
0
    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);
    }
Esempio n. 2
0
    // 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);
    }