Example #1
0
 // [[ ----- UPDATE DT ----- ]]
 public void UpdateDT(string _dtid, bool _inputBool)
 {
     if (dtDict.ContainsKey(_dtid))
     {
         dtDict[_dtid].UpdateState(_inputBool);
     }
     else
     {
         // create new dt entry
         DoubleTapInput newDT = new DoubleTapInput();
         dtDict.Add(_dtid, newDT);
     }
 }
Example #2
0
 // [[ ----- AWAKE ----- ]]
 private void Awake()
 {
     DoubleTapInput.dtDict = null;
     doubleTap             = new DoubleTapInput();
 }