步骤跳回物品展示取消高亮
This commit is contained in:
parent
0334b2f513
commit
f97912bf78
@ -529,6 +529,10 @@ namespace ZXK.LouDiXvMuNiu
|
|||||||
/// <param name="showAble"></param>
|
/// <param name="showAble"></param>
|
||||||
public void UseToolsActive(bool showAble)
|
public void UseToolsActive(bool showAble)
|
||||||
{
|
{
|
||||||
|
for (int i = 0; i < _currentHighlights.Count; i++)
|
||||||
|
{
|
||||||
|
_currentHighlights[i].enabled = false;
|
||||||
|
}
|
||||||
for (int i = 0; i < _curModuleToolArray.Count; i++)
|
for (int i = 0; i < _curModuleToolArray.Count; i++)
|
||||||
{
|
{
|
||||||
_curModuleToolArray[i].gameObject.SetActive(showAble);
|
_curModuleToolArray[i].gameObject.SetActive(showAble);
|
||||||
|
|||||||
@ -242,7 +242,7 @@ namespace ZXK.LouDiXvMuNiu
|
|||||||
{//前后三级人物名字不同
|
{//前后三级人物名字不同
|
||||||
|
|
||||||
if (GameManager.Instance._StateContext.GetState().Name.Equals("TrainState"))
|
if (GameManager.Instance._StateContext.GetState().Name.Equals("TrainState"))
|
||||||
{
|
{//下一步按钮只在物品展示前展示
|
||||||
List<NiuData> tempData = GameManager.Instance._DataNiuHandler.NiuStepTypeDic[GameManager.Instance._CurModelType];
|
List<NiuData> tempData = GameManager.Instance._DataNiuHandler.NiuStepTypeDic[GameManager.Instance._CurModelType];
|
||||||
int prepareGeoID = 0;
|
int prepareGeoID = 0;
|
||||||
for (int i = 0; i < tempData.Count; i++)
|
for (int i = 0; i < tempData.Count; i++)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user