Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#194 [FEATURE] Replay Buffer Settings #318

Open
wants to merge 2 commits into
base: canary
Choose a base branch
from

Conversation

ThimoDEV
Copy link
Collaborator

@ThimoDEV ThimoDEV commented Dec 5, 2021

Added a few things regarding the settings for replay buffers.

  • Global Replay buffer default setting (Edit => preferences => Unity Atoms => Default replay buffer)
  • Option to use a local replay buffer setting for an event.
  • Added ReplayEventBufferOnListener property to change replay listening through code.
  • Added replayEventsBuffer as parameter in Register method of Events (default is true). This way when registering through code tthe replay buffer can be ignored.

Note: When testing with the infintewaves example, make sure you set _useLocalReplayBuffer to true to make sure the example scene and scriptableobjects do not get reset to the global default value.

Found in class Packages/Core/Runtime/Events/AtomEvent.cs line 29.

@miikalo miikalo added this to the v5.0 milestone Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants