Пример #1
0
			public RoomCrossFader(RoomMusicCrossFading crossFading, IRoom room)
			{
				_crossFading = crossFading;
				Room = room;

				room.Events.OnBeforeFadeOut.Subscribe(onBeforeFadeOut);
				room.Events.OnBeforeFadeIn.Subscribe(onBeforeFadeIn);
			}
Пример #2
0
            public RoomCrossFader(RoomMusicCrossFading crossFading, IRoom room)
            {
                _crossFading = crossFading;
                Room         = room;

                room.Events.OnBeforeFadeOut.Subscribe(onBeforeFadeOut);
                room.Events.OnBeforeFadeIn.Subscribe(onBeforeFadeIn);
            }