| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using ETModel;
- namespace ETHotfix
- {
- public sealed class Scene: Entity
- {
- public SceneType SceneType { get; set; }
- public string Name { get; set; }
- public new Entity Domain
- {
- get
- {
- return this.domain;
- }
- set
- {
- this.domain = value;
- }
- }
- public new Entity Parent
- {
- get
- {
- return this.parent;
- }
- set
- {
- this.parent = value;
- this.parent.Children.Add(this.Id, this);
- #if !SERVER
- if (this.ViewGO != null && this.parent.ViewGO != null)
- {
- this.ViewGO.transform.SetParent(this.parent.ViewGO.transform, false);
- }
- #endif
- }
- }
- }
- }
|