public static Scene ZoneScene(this Entity entity) { return(ZoneSceneManagerComponent.Instance.Get(entity.DomainZone())); }
public static async ETTask <Scene> Create(Entity parent, string name, SceneType sceneType) { long id = IdGenerater.Instance.GenerateId(); return(await Create(parent, id, parent.DomainZone(), name, sceneType)); }
public static void Error(this Entity entity, string msg) { Log.Info($"Zone:{entity.DomainZone()} | {msg}"); Log.Error($"Zone:{entity.DomainZone()} | {msg}"); }
public static void TraceInfo(this Entity entity, string msg) { Log.TraceInfo($"Zone:{entity.DomainZone()} | {msg}"); }
public static void Debug(this Entity entity, string msg) { Log.Debug($"Zone:{entity.DomainZone()} | {msg}"); }