三层消息通知,修改细节
This commit is contained in:
1 parent
9231304269
commit
603efc7508
20 files changed
+1133
-66
No files matched your search
@@ -148,7 +148,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
// timer += Time.deltaTime;
|
||||
//}
|
||||
timer += Time.deltaTime;
|
||||
while (timer >= 1 && eventQueue.Count > 0)
|
||||
while (timer >= 2 && eventQueue.Count > 0)
|
||||
{
|
||||
var e = eventQueue.Dequeue() as GameEvent;
|
||||
TriggerEvent(e);
|
||||
|
||||
@@ -91,12 +91,20 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
{
|
||||
public int routeId;//线路Id
|
||||
public string content;//消息
|
||||
|
||||
public string avatar;
|
||||
public string nickname;
|
||||
public LinkedMessageEvent(int routeId, string content)
|
||||
{
|
||||
this.routeId = routeId;
|
||||
this.content = content;
|
||||
}
|
||||
public LinkedMessageEvent(int routeId, string content,string avatar,string nickname)
|
||||
{
|
||||
this.routeId = routeId;
|
||||
this.content = content;
|
||||
this.avatar = avatar;
|
||||
this.nickname = nickname;
|
||||
}
|
||||
|
||||
private void CreateContent()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user