Skip to content
Rewind actions in Unity.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets
Library
ProjectSettings
README.md
rewind_controller.csproj
rewind_controller.sln

README.md

Rewind Controller

Rewind actions in Unity.

The rewind ability in this project is made possible due to the Command Pattern. Which makes implementing a rewind ability surprisingly easy.

All actions in the scene (including player/enemy movement, deaths, projectile release/movement) are encapsulated as actionable command objects.

Each command has an execute and undo method.

When a command is generated it is added to a global group containing all commands executed.This group simply encapsulates a list and provides access to a Reverse method.

You can’t perform that action at this time.