private void OnFirstOrSecondEventArgs(object sender, FirstEventArgs e) { Debug.Log($"Managed static event FirstOrSecondEventArgs: {sender}, type: {e.GetType()}"); }
private void OnSpecificObjectFirstEventArgs(object sender, FirstEventArgs e) { Debug.Log($"OnSpecificObjectFirstEventArgs: {sender}, type: {e.GetType()}"); }
//The method that is called with event MyFirstElement() public static void ShowMyFirstElement(object sender, FirstEventArgs e) { Console.WriteLine("EVENT - First element there"); }