Button-OnClick

how to create the onclick()?


I follow the lesson from videos
But mine is missing OnClick()

1 Like

its not really a bug… but, in what sense “create the onclick()” do you mean, how do you define a method that satisfys the onclick? how to link a method, how to generate an onclick event to answer to?

2 Likes

https://www.sikiedu.com/course/1788/task/129885/show

Time1.38

I follow.the lesson online, but i just stuck on this step

The video is unavailable to the public.

Anyway, in Card class you need to create public function with 0 parameters, and then you can see it in the list you have shown.

public void TestMethod()
{
    print("Test");
}
1 Like

Thx everyone, i solve the problem

1 Like

glad you solved it, when i viewed your question on my phone there was no picture… but being able to fully articulate the question in a comprehensive manner does help.

1 Like