예제 #1
0
        public static IUpdateInvoker GetDefault()
        {
            if (updateInvoker != null)
            {
                return(updateInvoker);
            }

            if (Application.isPlaying)
            {
                updateInvoker = GetRuntimeUpdater();
                return(updateInvoker);
            }

            updateInvoker = new UpdateInvoker();
            return(updateInvoker);
        }
예제 #2
0
 public void TearDown()
 {
     updateInvoker = null;
 }
예제 #3
0
 public void Setup()
 {
     updateInvoker = UpdateInvokerFactory.GetDefault();
 }
예제 #4
0
 public void TearDown()
 {
     updateInvoker = null;
     mockUpdatable = null;
 }
예제 #5
0
 public void Setup()
 {
     mockUpdatable = new MockUpdatable();
     updateInvoker = new UpdateInvoker();
 }