|
@@ -95,7 +95,7 @@ namespace Fort23.Mono
|
|
|
|
|
|
if (isFengShuo)
|
|
if (isFengShuo)
|
|
{
|
|
{
|
|
- fengjingXX.SetActive(true);
|
|
|
|
|
|
+ fengjingXX?.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -149,7 +149,7 @@ namespace Fort23.Mono
|
|
|
|
|
|
if (isFengShuo)
|
|
if (isFengShuo)
|
|
{
|
|
{
|
|
- fengjingXX.SetActive(false);
|
|
|
|
|
|
+ fengjingXX?.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -160,7 +160,7 @@ namespace Fort23.Mono
|
|
|
|
|
|
public void ShowWidget(int index)
|
|
public void ShowWidget(int index)
|
|
{
|
|
{
|
|
- fengjingXX.SetActive(false);
|
|
|
|
|
|
+ fengjingXX?.SetActive(false);
|
|
this.index = index;
|
|
this.index = index;
|
|
switch (index)
|
|
switch (index)
|
|
{
|
|
{
|