Beispiel #1
0
 private void DisplayStuffCustomParameters(MyName myName, MyAge myAge)
 {
     Debug.Log($"Hello my name is {myName.name} and my age is {myAge.age}");
 }
Beispiel #2
0
 private void DisplayStuffCustomArgs(object sender, MyName args)
 {
     Debug.Log($"Hello my name is {args.name}");
 }