---
# System prepended metadata

title: CBW模組使用文件
tags: [RD, CloudMachine, JL]

---

---
title: 'CBW模組使用文件'
disqus: 'JL_CloudMachine'
---

# CBW模組使用文件
[TOC]

## 使用方法
### 1.在slotSence 添加 ```GameSettingSetter```
![](https://hackmd.io/_uploads/SkyKHDr0n.png)
### 2.Unpack prefab
![](https://hackmd.io/_uploads/B1ThSPHC2.png)
### 3.自定義設定
![](https://hackmd.io/_uploads/rkWGLwSCn.png)

:ballot_box_with_check:**=必要設定** 
  - :ballot_box_with_check: 1.滾分音效設定 ```winScrollingSoundSetting```:(參考音效規格書設定)
      - 一般 Normal
      - 配合音效淡出 FadeOut
  - 2.CreditFrame中間背景圖 ```winBoardFrame```:
    ![](https://hackmd.io/_uploads/SJgJ_wHC2.png)
  - 3.freegame局數面板背景圖 ```freeBoardInfoBackground```:
    ![](https://hackmd.io/_uploads/rk8PdvHCn.png)
  - :ballot_box_with_check: 4.大獎噴金幣物件 ```winEmitterEffectObject```:
      - 龍意發金幣```WinEmitterView_Common```
      - VIP金幣```WinEmitterView_IngotResize```
      - 舊版金幣(暫時用不到)```WinEmitterView_Ingot```
  ![](https://hackmd.io/_uploads/rJ75_DB0h.png)

  - :ballot_box_with_check: 5.大獎設定 ```PrizeLevelSetting```:
  ```WinScrollingSetting_PrizeLevel```
  
  - :ballot_box_with_check: 6.贏分過萬分大獎設定 ```ScorePrizeLevelSetting```:
  ```WinScrollingSetting_ScorePrizeLevel```
  
  - 7.訊息欄顯示Symbol圖樣 SpriteAsset設定 ```spriteAsset```:
  贏分訊息使用TMP spriteAsset圖樣
### 4.Canvas_Slot 的MessageBg 添加腳本,自動抓背景位置及size
![](https://hackmd.io/_uploads/BkWn9vHAh.png)
- 添加腳本:
    - DownBarUIItem
    - DownBarView
    
![](https://hackmd.io/_uploads/B1uXowBR2.png)
### 5.BaseScene 的 ```SlotCommonView``` CBW掛上```Canvas_Credit_Bar_Common```
![](https://hackmd.io/_uploads/SJ6zawSAn.png)
### 6.更新SymbolSettingCollectionEditor

### 7.SymbolSettingCollection 設定Symbol參數
![](https://hackmd.io/_uploads/rJpjnFBR3.png)

- 1.是否使用新的Symbol訊息顯示```New Symbol Setting```:
==打勾==
- 2.Symbol 輪播文字訊息顯示方式```Symbol Recurring Show```:
     - WinLine: ```"LINE {線編號} WIN {贏分}"```
     - WinSymbol: ```"WIN {Symbol 排列} X {Way數} = {贏分}"```
     - Scatter: ```"Scatter Wins {贏分}"```
     - Bonus: ```"Bonus Wins {贏分}"```
- 3.Symbol 觸發進入FreeGame```Symbol Trigger FreeGame```:
    該Symbol會觸發進入FreeGame就打勾
:::   danger
## 進階使用方法


###  1.GameMessageView腳本更換
- 1.新增要==複寫的腳本==
![](https://hackmd.io/_uploads/BkaMQlDkp.png)
- 2.建議關閉==複寫的腳本==,且使用```Rect Transform```
![](https://hackmd.io/_uploads/SJ3GEeD1a.png)
- 3.將要==複寫的腳本==掛入 ```GameSettingSetter```
![](https://hackmd.io/_uploads/B1g1EeDkp.png)
- 4.**確認**執行遊戲後,原掛載於```GameSettingSetter```的==複寫的腳本==
移至```SlotCommonView\Canvas_Credit_Bar_Common(Clone)\GameObject\Canvas```底下
且```Message```掛至==複寫的腳本==底下
![](https://hackmd.io/_uploads/S12WSlvJT.png)
- 5.**確認**==複寫的腳本==內有正確附屬上原本公版的設定,且遊戲內CBW message訊息欄位置顯示正確
![](https://hackmd.io/_uploads/ryigIxP1a.png)
:::


###### tags: `CloudMachine` `JL` `RD`
