Cerebrum™
Loading...
Searching...
No Matches
Cerebrum.ChatBubble Class Reference
Inheritance diagram for Cerebrum.ChatBubble:
Collaboration diagram for Cerebrum.ChatBubble:

Public Types

enum  IconType { None , Patient , Nurse }
 

Public Member Functions

void Setup (string text, IconType iconType=IconType.None)
 

Static Public Member Functions

static ChatBubble Create (Transform parent, Vector3 localPosition, IconType iconType, string text, bool isLabel=false)
 

Public Attributes

Color bubbleColor = Color.blue
 
string chatText
 
Transform parentTransform
 

Static Public Attributes

static ChatBubble ChatBubblePrefab
 

Member Enumeration Documentation

◆ IconType

Enumerator
None 
Patient 
Nurse 

Member Function Documentation

◆ Create()

static ChatBubble Cerebrum.ChatBubble.Create ( Transform  parent,
Vector3  localPosition,
IconType  iconType,
string  text,
bool  isLabel = false 
)
static
Here is the caller graph for this function:

◆ Setup()

void Cerebrum.ChatBubble.Setup ( string  text,
IconType  iconType = IconType::None 
)
Here is the caller graph for this function:

Member Data Documentation

◆ bubbleColor

Color Cerebrum.ChatBubble.bubbleColor = Color.blue

◆ ChatBubblePrefab

ChatBubble Cerebrum.ChatBubble.ChatBubblePrefab
static

◆ chatText

string Cerebrum.ChatBubble.chatText

◆ parentTransform

Transform Cerebrum.ChatBubble.parentTransform

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