private void startWindowTweenOut()
 {
     _windowReady = false;
     DialogueriTween.ValueTo(
         this.gameObject,
         new Hashtable {
         { "from", _windowTweenValue },
         { "to", 0 },
         { "onupdatetarget", this.gameObject },
         { "onupdate", "updateWindowTweenValue" },
         { "oncompletetarget", this.gameObject },
         { "oncomplete", "windowOutComplete" },
         { "time", 0.5f },
         { "easetype", DialogueriTween.EaseType.easeInBack }
     }
         );
 }
 private void startWindowTweenIn()
 {
     _showDialogueBox = true;
     DialogueriTween.ValueTo(
         this.gameObject,
         new Hashtable {
         { "from", _windowTweenValue },
         { "to", 1 },
         { "onupdatetarget", this.gameObject },
         { "onupdate", "updateWindowTweenValue" },
         { "oncompletetarget", this.gameObject },
         { "oncomplete", "windowInComplete" },
         { "time", 0.5f },
         { "easetype", DialogueriTween.EaseType.easeOutBack }
     }
         );
 }