DaifugÅ
Project Overview
DaifugÅ is a work in progress Unity UI/UX project centered on creating a simple card game. It uses an Action List to manage animations and functionality, ensuring modular, scalable gameplay and clean separation of logic. It leverages the utility of an Action List to have functionality occur in the future.
Code Snippets
Action List
This system orchestrates animations, gameplay mechanics, and UX effects like card shaking and hand fanning, using a combination of priorities and time delays for precise execution control.
- Dual Priority Actions: Execute simultaneously but always finish before anything else starts. These are perfect for concurrent high-priority tasks that must precede all others.
- Priority Actions: Operate as hard blockers, ensuring no other actionsâregular or priorityâcan proceed until the current one completes. This guarantees critical sequences remain isolated and uninterrupted.
- Regular Actions: These are the backbone of the system, handling the majority of tasks. They execute after priority actions but before late actions, ensuring smooth progression of routine processes.
- Late Actions: Always the last to execute, these are reserved for follow-up or clean-up tasks, ensuring they don't interfere with primary workflows.
By combining these action types, the system allows for highly controlled, modular, and scalable task management, ensuring animations and gameplay flow seamlessly while maintaining flexibility for complex sequences.
file ActionList.cs