void DoTrigger() { notificationSender.ShowNotification("Twitter", "New message", "Tap to go to Twitter", 0, twitterIcon); GetComponentInParent <PeriodicHapticFeedback>().StartFeedback(); notificationSender.GetComponent <Button>().enabled = true; }
void DoTrigger() { notificationSender.ShowNotification("Twitter", "New message", "Tap to go to Twitter", 0, twitterIcon); GetComponentInParent <PeriodicHapticFeedback>().StartFeedback(); notificationSender.GetComponent <Button>().enabled = true; }