Quantcast
Channel: Comments and answers for "AddListener function not working?"
Viewing all articles
Browse latest Browse all 15

Answer by Drakoran

$
0
0
I also ran into this issue. Somehow, I unchecked the Raycast target on the image script. Checking this allowed the onClick.AddListener() to work. .onClick.AddListener(() => TestAddition()); private void TestAddition() { Debug.Log("Testing Button"); }

Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>