9 lines
479 B
C#
9 lines
479 B
C#
if (!UnityEngine.Application.isPlaying) return "Refused: not playing";
|
|
var target = UnityEngine.GameObject.Find("PFLoginAct(Clone)/CustomId/Dialog/ContentArea/InputField (Legacy)");
|
|
if (target == null || !target.activeInHierarchy) return "Refused: active login input not found";
|
|
var field = target.GetComponent<UnityEngine.UI.InputField>();
|
|
if (field == null) return "Refused: wrong component";
|
|
field.text = "not-an-id";
|
|
return "Active login input set to not-an-id; no submit";
|
|
|