private Transform GetParentFromDepth(EWindowDepth depth) { switch (depth) { case EWindowDepth.Normal: return(normalParent); case EWindowDepth.Notice: return(forwardParent); case EWindowDepth.Forward: return(importParent); } return(uiRoot.transform); }
// Token: 0x06000099 RID: 153 RVA: 0x00005804 File Offset: 0x00003A04 private Transform GetParentFromDepth(EWindowDepth depth) { Transform result; switch (depth) { case EWindowDepth.Normal: result = this.normalParent; break; case EWindowDepth.Notice: result = this.forwardParent; break; case EWindowDepth.Forward: result = this.importParent; break; default: result = null; break; } return(result); }
public WindowCreateInfo(string dir, EWindowDepth dep) { resDir = dir; depth = dep; }
public void OpenWindow(string resPath, EWindowDepth depth, UICallback callback = null) { OpenWindow(resPath, GetParentFromDepth(depth), callback); }
// Token: 0x060000A2 RID: 162 RVA: 0x000059C2 File Offset: 0x00003BC2 public void OpenWindow(string resPath, EWindowDepth depth, UICallback callback = null) { this.OpenWindow(this.GetType(resPath), resPath, this.GetParentFromDepth(depth), callback); }
public void OpenWindow(string dir, EWindowDepth dep, UICallback callback = null) { }
public WindowCreateInfo(string dir, EWindowDepth dep) { this.resDir = dir; this.depth = dep; }