| | |
| | | return funcSet;
|
| | | }
|
| | |
|
| | | //默认优先使用道具寻宝
|
| | | public bool IsUseToolXB()
|
| | | {
|
| | | if (!PlayerPrefs.HasKey(USETOOLXBKey))
|
| | | {
|
| | | LocalSave.SetBool(USETOOLXBKey, true);
|
| | | return true;
|
| | | }
|
| | | else
|
| | | {
|
| | | return LocalSave.GetBool(USETOOLXBKey);
|
| | | }
|
| | | return true;
|
| | | //if (!PlayerPrefs.HasKey(USETOOLXBKey))
|
| | | //{
|
| | | // LocalSave.SetBool(USETOOLXBKey, true);
|
| | | // return true;
|
| | | //}
|
| | | //else
|
| | | //{
|
| | | // return LocalSave.GetBool(USETOOLXBKey);
|
| | | //}
|
| | | }
|
| | |
|
| | | public void SetUseToolXB(bool isToolXB)
|
| | | {
|
| | | LocalSave.SetBool(USETOOLXBKey, isToolXB);
|
| | | //LocalSave.SetBool(USETOOLXBKey, isToolXB);
|
| | | }
|
| | |
|
| | | private void SetXBGetItemModel()
|