Ejemplo n.º 1
0
 private void Test()
 {
     Debug.Log("hi");
     UnityEventLambda.RemoveListener(button.onClick, () => Test());
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     UnityEventLambda.AddListener(button.onClick, () => Test());
 }