| | |
| | | GodBeastModel godBeastModel { get { return ModelCenter.Instance.GetModel<GodBeastModel>(); } }
|
| | | private void Awake()
|
| | | {
|
| | | |
| | |
|
| | | }
|
| | | private void Start()
|
| | | {
|
| | |
| | | else
|
| | | {
|
| | | return;
|
| | | } |
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | int childCode = 0;
|
| | | for (childCode = 0; childCode < cell.transform.childCount; childCode++)
|
| | | {
|
| | |
|
| | | GodBeastChildNodes GodBeastChildNodes = cell.transform.GetChild(childCode).GetComponent<GodBeastChildNodes>();
|
| | | int cellCount = (cell.transform.childCount) * gridlineIndex + (childCode + 1);
|
| | | if (cellCount > 100)
|
| | | {
|
| | | GodBeastChildNodes.gameObject.SetActive(false);
|
| | | continue;
|
| | | }
|
| | | GodBeastChildNodes.ItemCell.gameObject.SetActive(false);
|
| | | GodBeastChildNodes.ChoosenImg.SetActive(false);
|
| | | GodBeastChildNodes.TextNumber.gameObject.SetActive(false);
|
| | | GodBeastChildNodes.NumberNow.gameObject.SetActive(false);
|
| | | int cellCount = (cell.transform.childCount) * gridlineIndex + (childCode + 1);
|
| | | GodBeastChildNodes.ButtonDown.RemoveAllListeners();
|
| | | if (cellCount - 1 < GodBeastBagList.Count)
|
| | | {
|