From 375e4137464153abd4a7909552c8df79019a2a27 Mon Sep 17 00:00:00 2001 From: Joe McDonald Date: Thu, 2 May 2019 14:58:28 +0100 Subject: [PATCH] Changed EventAndSource to a struct for performance Closes #7 --- .../UniRxEventAggregator/Scripts/Events/EventAndSource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnityProject/Assets/Plugins/UniRxEventAggregator/Scripts/Events/EventAndSource.cs b/UnityProject/Assets/Plugins/UniRxEventAggregator/Scripts/Events/EventAndSource.cs index 3c0bcde..63a4c52 100644 --- a/UnityProject/Assets/Plugins/UniRxEventAggregator/Scripts/Events/EventAndSource.cs +++ b/UnityProject/Assets/Plugins/UniRxEventAggregator/Scripts/Events/EventAndSource.cs @@ -3,7 +3,7 @@ namespace UniRxEventAggregator.Events { - public class EventAndSource + public struct EventAndSource { public T Event { get; set; } public IObservable Source { get; set; }