fix 改為能抓到隱藏物件
This commit is contained in:
parent
81ae31f18c
commit
9dc2a1985e
@ -43,7 +43,7 @@ public class ServerGameTalkingPanel : MonoBehaviour
|
|||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
Instance = this;
|
Instance = this;
|
||||||
customReportScript = gameObject.GetComponentInChildren<CustomerReportSystem>();
|
customReportScript = gameObject.GetComponentInChildren<CustomerReportSystem>(includeInactive: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||||
|
|||||||
@ -31,7 +31,7 @@ public class ServerGameTypingPanel : MonoBehaviour
|
|||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
Instance = this;
|
Instance = this;
|
||||||
customReportScript = gameObject.GetComponentInChildren<CustomerReportSystem>();
|
customReportScript = gameObject.GetComponentInChildren<CustomerReportSystem>(includeInactive: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void processStep(int step)
|
public void processStep(int step)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user