This should work: gameObject.GetComponent<Button>().onClick.Invoke();. UnityEvent.Invoke. I dont even know what onClick does.
確定! 回上一頁