A 2D Farming RPG
This is just a simple 2D farming RPG game
|
This class will confine the camera so that it won't go beyond the boundaries. More...
Private Member Functions | |
void | OnEnable () |
Subscribe to the AfterSceneLoadEvent event. More... | |
void | OnDisable () |
Unsubscribe from the AfterSceneLoadEvent event. More... | |
void | SwitchBoundingShape () |
Switch the collider that cinemachine uses to define the edges of the screen. More... | |
This class will confine the camera so that it won't go beyond the boundaries.
Definition at line 8 of file SwitchConfineBoundingShape.cs.
|
inlineprivate |
Unsubscribe from the AfterSceneLoadEvent event.
Definition at line 22 of file SwitchConfineBoundingShape.cs.
|
inlineprivate |
Subscribe to the AfterSceneLoadEvent event.
Definition at line 14 of file SwitchConfineBoundingShape.cs.
|
inlineprivate |
Switch the collider that cinemachine uses to define the edges of the screen.
Definition at line 30 of file SwitchConfineBoundingShape.cs.