public void Init(ChooseSelfImageNode node) { node_chooseSelfImage = node; transform.localScale = 1f * Vector3.one; image_light.gameObject.SetActive(false); btn_avatar.onClick.RemoveAllListeners(); btn_avatar.onClick.AddListener(IsChoose); }
void ChangeAvatar() { AnalysisManager.Instance.OnEvent("100005", null, "个人信息修改", "打开修改个人头像界面"); ChooseSelfImageNode node = Instantiate(node_chooseSelfImage); node.transform.SetParent(transform.parent); node.Init(this); transform.gameObject.SetActive(false); }