public void UpdateHaptics(string type) { if (hapticView != null) { hapticView.RemoveSprite(hapticSprite); if (hapticSprites.ContainsKey(type)) { hapticSprite = hapticSprites[type]; hapticView.AddSprite(hapticSprite); } else { AddHapticSprite(type); } } }
void HideHapticSprite() { mHapticView.RemoveSprite(mHapticSprite); }