public virtual void InitWithBaseScene(object baseScene) { if (baseScene is GameUICommonBillboardPopUp) { this.mBaseScene = (GameUICommonBillboardPopUp)baseScene; } else if (baseScene is BillboardCommonLayer) { this.mBaseLayer = (BillboardCommonLayer)baseScene; } else { if (!(baseScene is GUIGuildMinesResultPopUp)) { return; } this.mBasePop = (GUIGuildMinesResultPopUp)baseScene; } this.CreateObjects(); }
public virtual void InitWithBaseScene(GameUICommonBillboardPopUp baseScene) { this.mBaseScene = baseScene; this.CreateObjects(); }