Replying to ___1576’s Message
Reply by ___1576 | 2024-09-14 17:33:01
Reply by k3kalinix | 2024-09-15 19:21:58
.
Replying to ___1576’s Message
Reply by ___1576 | 2024-09-14 17:33:01
Reply by k3kalinix | 2024-09-15 19:21:58
.
Reply by k3kalinix | 2024-09-15 19:22:19
create a start method
Reply by k3kalinix | 2024-09-15 19:22:24
and call YourFunction();
Reply by ___1576 | 2024-09-15 19:23:59
Can you please explain it in a bit more detail? Sorry😥
Reply by k3kalinix | 2024-09-15 19:27:03
private void Start()
{
YourFunction();
}
Replying to ___1576’s Message
Reply by ___1576 | 2024-09-14 17:33:01
Reply by k3kalinix | 2024-09-15 19:27:28
add it inside of TriggerCoutner
Reply by ___1576 | 2024-09-15 19:31:18
still nothing happens
Reply by k3kalinix | 2024-09-15 19:34:48
Probably you are doing something wrong
Reply by k3kalinix | 2024-09-15 19:38:38
Are you available for voice chat?
Reply by ___1576 | 2024-09-15 19:41:40
Sorry, I’m not available now and I can’t communicate english well
Replying to k3kalinix’s Message
Reply by k3kalinix | 2024-09-15 19:27:03
private void Start()
{
YourFunction();
}
**Reply by ___1576 | 2024-09-15 19:41:53**
when I added this, I met the error
**Images:**

Reply by k3kalinix | 2024-09-15 19:53:30
Hmm
Reply by ___1576 | 2024-09-15 20:00:55
It there no solution for this, I think there seems to be some unknown errors. Now I’m just trying again with a completely new Unity project. I’ll let you know if it gets resolved. I’m really sorry for taking up so much of your time, and thank you very much for your help.
Reply by k3kalinix | 2024-09-15 20:18:58
<@785917121926266892>
Reply by k3kalinix | 2024-09-15 20:19:33
private void Update()
{
if(Input.GetKeyDown(KeyCode.K)
{
YourFunction();
}
}
Reply by k3kalinix | 2024-09-15 20:19:39
Could you please test this?
Reply by ___1576 | 2024-09-15 20:20:12
Ok i’ll try it
Reply by ___1576 | 2024-09-15 20:23:22
oh… it works, finally.
Reply by k3kalinix | 2024-09-15 20:24:16
Yess
Reply by k3kalinix | 2024-09-15 20:24:22
So it happens when you press the K