IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | Properties | List of all members
NotificationControl Class Reference
Inheritance diagram for NotificationControl:
Inheritance graph
[legend]
Collaboration diagram for NotificationControl:
Collaboration graph
[legend]

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 ()
 

Public Attributes

GameObject firstNotification
 
GameObject secondNotification
 
GameObject thirdNotification
 
GameObject statusBar
 
GameObject additionalInformation
 
GameObject customAdditionalInfoIn
 
GameObject customAdditionalInfo = null
 
bool moveNotificationCenter = true
 
int minXPositionNotificationCenter = -650
 
int maxXPositionNotificationCenter = 1000
 

Properties

static NotificationControl instance [get, set]
 

Detailed Description

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.


The documentation for this class was generated from the following file: