コード例 #1
0
 public void Init(GameObject spaceShip, GameObject uiCamera, GachaType type, GachaMainPageContext.GachaAmountType amountType, Action endCallBack = null)
 {
     this._spaceShip     = spaceShip;
     this._uiCamera      = uiCamera;
     this._type          = type;
     this._endCallBack   = endCallBack;
     this._amountType    = amountType;
     this._mainMenuStage = (spaceShip != null) ? spaceShip.GetComponent <MainMenuStage>() : null;
 }
コード例 #2
0
ファイル: GachaMainPageContext.cs プロジェクト: slb1988/agame
 public void Start(GachaType gacha, GachaMainPageContext.GachaAmountType amount, Action <GachaType, GachaMainPageContext.GachaAmountType> callback)
 {
     if (!this._waiting)
     {
         this._waiting    = true;
         this._gachaType  = gacha;
         this._amountType = amount;
         this._callback   = callback;
         this.ShowWheel();
     }
 }