IMHOTEP Framework
|
Public Member Functions | |
void | debug () |
void | createNotification (Notification n) |
void | createNotification (string text, TimeSpan timeToLive, Sprite notificationSprite=null, AdditionalInfo additionalInfo=null) |
Convenience overload. | |
void | deleteNotoficationPressed (GameObject sender) |
void | showAdditionalInformation () |
void | hideAdditionalInformation () |
Properties | |
static NotificationControl | instance [get, set] |
Handles Notifications. How to use the Notification system: // Show notification for 10 seconds: NotificationControl.instance.createNotification("test", new TimeSpan(0,0,10)); A notification can also have its own icon: public Sprite SpriteUnknown; //Set in editor NotificationControl.instance.createNotification("test", new TimeSpan(0,0,10), s);
Definition at line 15 of file NotificationControl.cs.