长通知和切换场景保留消息
This commit is contained in:
1 parent
7bb5bafbd2
commit
cd162f3325
17 files changed
+1341
-99
No files matched your search
@@ -99,7 +99,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
this.routeId = routeId;
|
||||
this.content = content;
|
||||
}
|
||||
public LinkedMessageEvent(int routeId, string content,string avatar,string nickname,string routeName)
|
||||
public LinkedMessageEvent(int routeId, string content, string avatar, string nickname, string routeName)
|
||||
{
|
||||
this.routeId = routeId;
|
||||
this.content = content;
|
||||
@@ -107,6 +107,14 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
this.nickname = nickname;
|
||||
this.routeName = routeName;
|
||||
}
|
||||
public LinkedMessageEvent(LinkedMessageEvent data)
|
||||
{
|
||||
this.routeId = data.routeId;
|
||||
this.content = data.content;
|
||||
this.avatar = data.avatar;
|
||||
this.nickname = data.nickname;
|
||||
this.routeName = data.routeName;
|
||||
}
|
||||
|
||||
private void CreateContent()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user