The CheckCSharp Event condition, is able to only subscribe to events of System.Action type.
Here is an example of an event that can be used from CheckCSharp Event condition.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
publicclassExample:MonoBehaviour{
publiceventSystem.Action onSomethingHappened;
voidUpdate(){
if(Input.GetKeyDown(KeyCode.Space)){
if(onSomethingHappened!=null){
onSomethingHappened();
}
}
}
}
Can you please confirm that if you attach this script on the same gameobject as the GraphOwner is attached on, will allow you to select “Example/onSomethingHappened” after clicking the “Select Event” button?
Let me know.
Thanks.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.