I scripted the behavior of this asset in addition to animating and placing its sub-components
Floor levers were one of the simplest interactable objects that I owned. Even so, they went through a number of iterations. I animated the lever moving and set up the logic so that level design could customize them as needed.
States
Enabled (Default): The player can interact with the lever to toggle it. Whether they can switch it back was specific to each instance
Disabled: The lever is unable to be used. Could be disabled by default or could be due to it having already been used
Position 1: The default position of the lever when not altered by level design or by the player
Position 2: Toggled position of the leverÂ
More
Floor levers could be set so that they were only useable once
Since the orientation was ambiguous, the event outputs from the lever were a little more general: Ie. An event would fire when the lever is moved out of the default position rather than toggled "On" or "Off"