Пример #1
0
        private void setSlotItems(SlotitemModel_Battle[] models)
        {
            ProdShellingSlotLine prodShellingSlotLine = BattleTaskManager.GetPrefabFile().prodShellingSlotLine;

            prodShellingSlotLine.SetSlotData(models, _iList);
            setHexBtn(models);
        }
 protected virtual void playShellingSlot(SlotitemModel_Battle model, BaseProdLine.AnimationName iName, bool isFriend, float delay)
 {
     if (model == null)
     {
         return;
     }
     Observable.Timer(TimeSpan.FromSeconds((double)delay)).Subscribe(delegate(long _)
     {
         KCV.Utils.SoundUtils.PlaySE(SEFIleInfos.SE_048);
         ProdShellingSlotLine prodShellingSlotLine = BattleTaskManager.GetPrefabFile().prodShellingSlotLine;
         prodShellingSlotLine.SetSlotData(model, isFriend);
         prodShellingSlotLine.Play(iName, isFriend, null);
     });
 }