예제 #1
0
        // Note: method bool TickRealtimeProbes() will create GC.Alloc due to Unity binding code
        // (bool as return type is not handled properly)
        // Will be fixed in future release of Unity.

        public override bool TickRealtimeProbes()
        {
#if REFLECTION_PROBE_UPDATE_CACHED_DATA_AVAILABLE
            ReflectionProbe.UpdateCachedState();
#else
            BuiltinUpdate.Invoke(null, new object[0]);
#endif
            return(base.TickRealtimeProbes());
        }