mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] 接入ET8服务端
[+] 接入ET8服务端
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace ET
|
||||
{
|
||||
// 可以用来管理多个客户端场景,比如大世界会加载多块场景
|
||||
[ComponentOf(typeof(Scene))]
|
||||
public class CurrentScenesComponent: Entity, IAwake
|
||||
{
|
||||
private EntityRef<Scene> scene;
|
||||
|
||||
public Scene Scene
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.scene;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.scene = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 76092b938d51716479051a770847aa2c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user