fix: ActivateExperimentObjects加第三层强制隐藏ping/chanrao+日志
This commit is contained in:
@@ -270,6 +270,20 @@ public class PageController : MonoBehaviour
|
||||
{
|
||||
Debug.Log("PageController: [ActivateExperimentObjects] 显示实验物件");
|
||||
|
||||
// 强制确保所有 ping/chanrao/chanraotuibu 隐藏
|
||||
var miClean = GameObject.Find("manInjury");
|
||||
if (miClean != null)
|
||||
{
|
||||
foreach (Transform child in miClean.transform)
|
||||
{
|
||||
if (child.name.Contains("ping") || child.name.Contains("chanrao"))
|
||||
{
|
||||
child.gameObject.SetActive(false);
|
||||
Debug.Log("PageController: 强制隐藏 " + child.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
FindObjectOfType<AudioManager>()?.PlayExperimentBg();
|
||||
|
||||
FindObjectOfType<AudioManager>()?.PlayExperimentBg();
|
||||
|
||||
@@ -534,7 +534,8 @@ PlayerSettings:
|
||||
openGLRequireES31: 0
|
||||
openGLRequireES31AEP: 0
|
||||
openGLRequireES32: 0
|
||||
m_TemplateCustomTags: {}
|
||||
m_TemplateCustomTags:
|
||||
PRODUCT_DESCRIPTION:
|
||||
mobileMTRendering:
|
||||
Android: 1
|
||||
iPhone: 1
|
||||
@@ -796,7 +797,7 @@ PlayerSettings:
|
||||
webGLDebugSymbols: 0
|
||||
webGLEmscriptenArgs:
|
||||
webGLModulesDirectory:
|
||||
webGLTemplate: APPLICATION:Default
|
||||
webGLTemplate: APPLICATION:PWA
|
||||
webGLAnalyzeBuildSize: 0
|
||||
webGLUseEmbeddedResources: 0
|
||||
webGLCompressionFormat: 2
|
||||
|
||||
Reference in New Issue
Block a user