Custom Text Sprite is a flexible text rendering system for Unity that supports both 2D and 3D text. It uses individual character sprites, enabling dynamic text updates, animations.Version 1.0 – Custom Text & Dialogue SystemCustom Text Sprite Features:Custom Text Rendering: Allows developers to render text in Unity without relying on standard UI Text or TextMeshPro components.2D and 3D Support: Text can be displayed in UI or the 3D world, with seamless switching between modes.Dynamic Text Input: Update text at runtime using string input.Text Animations: Supports per-character animations like fade, scale, and movement for both 2D and 3D letters.Efficient Object Management: Reuses character objects to prevent duplicates, reduce garbage collection, and maintain smooth performance.Customizable Layout: Font size, spacing, and alignment can be adjusted at runtime for flexible text design.Dialogue System Features:NPC Dialogue Support: Assign dialogue lines to NPCs with multiple dialogue options.Dialogue Manager: Central manager to control dialogues, start/pause/end dialogues, and assign custom text dynamically.Dialogue Events: Trigger sound effects, animations, visual effects, or custom logic (e.g., quests, choices) during dialogues.Dynamic Text Assignment: Update dialogue text based on game state or player decisions.Flexible Integration: Works with both 2D UI and 3D world text systems.Optimized Performance: Dialogue objects reuse existing text objects, ensuring smooth runtime performance.Typewriter & Effects: Built-in support for timed text display, typewriter effects, and fading effects.Overall:This system provides full control over text rendering and dialogue management in Unity, allowing developers to create dynamic, animated, and interactive text experiences without being tied to standard text components.Technical DetailsRendering:Uses individual sprites for each character for maximum flexibility.Supports RectTransform (2D UI) and Transform (3D world objects).Animation Support:Per-character animations for scale, rotation, position, and fade.Works consistently across 2D and 3D without visual conflicts.Performance Optimizations:Reuses existing GameObjects for characters to avoid unnecessary creation and destruction.Prevents duplicate letters when text is updated to a shorter string.Minimizes garbage collection for frequent text updates.Customization Options:Runtime adjustment of font size, spacing, and alignment.Switching between 2D and 3D modes preserves animations and layout integrity.



