public void Trigger() { if (Event != null) { var args = new TestArgs { Arg = "Testing" }; Event(this, args); } }
private void OnEvent(object sender, TestArgs args) { Debug.Log(args.Arg); }