Sub Routines is a powerful tool for Unity developers that enables the creation of complex tasks that can run concurrently or within a chain of events. It provides a simple interface to create tasks based on conditions and actions, and offers a range of methods to control the execution of these tasks. With Sub Routines, you can create custom event systems, pause and resume tasks, and chain routines together for greater flexibility. The package includes a static class with various methods, such as 'Wait', 'While', 'RunFor', and more, to help you create and manage your tasks.
Sub Routines uses a simple condition-action approach to define tasks. The package provides a range of methods, including 'While', 'Always', 'When', 'Wait', 'RunFor', 'Repeat', 'RunNextFrame', 'RunAfterXFrames', 'RunForXFrames', 'Do', 'Chain', 'GetInstance', 'RemoveSubRoutine', and 'RemoveAllSubRoutines'. These methods can be used to create complex tasks, pause and resume tasks, and chain routines together. The package is designed to be easy to use and understand, with a simple interface and clear documentation.
Sub Routines: A Flexible Event System for Unity - Asset Store





