Unity Game Framework

repository·master·Indexed 25 days ago

https://github.com/ellanjiang/unitygameframework

A comprehensive Unity-based framework (version 2021.05.31) designed to standardize game development. It provides 19 built-in modules including Config, Data Node, Data Table, Debugger, Download, Entity, Event, File System, FSM, Localization, Network, Object Pool, Procedure, Resource, Scene, Setting, Sound, UI, and Web Request.

Tokens
584
Snippets
0
Records
5
Agent score
32%

What's inside unitygameframework

  1. Overview of Game Framework modules

    master

    Game Framework is a Unity-based framework that encapsulates common game development modules to standardize processes and increase development speed. It consists of 19 built-in modules:

    • Config: Global read-only configurations.
    • Data Node: Tree-structured data management.
    • Data Table: Custom table-based data configuration (e.g., Excel).
    • Debugger: Runtime log and debug info viewer; supports custom feature registration.
    • Download: File downloading with breakpoint resume support.
    • Entity: Management of dynamic game objects (showing/hiding, attaching/detaching).
    • Event: Decoupled logic via event firing and observation.
    • File System: Virtual file system for optimized resource loading.
    • FSM: Finite State Machine implementation.
    • Localization: Multi-language support for text and assets.
    • Network: TCP socket connections (IPv4/IPv6) supporting multiple simultaneous connections.
    • Object Pool: Caching mechanism to avoid frequent creation/destruction.
    • Procedure: A high-level FSM managing the entire game lifecycle.
    • Resource: Asynchronous-only resource loading system with memory management.
    • Scene: Multi-scene management (simultaneous loading/unloading).
    • Setting: Key-value player data storage (wraps UnityEngine.PlayerPrefs or disk).
    • Sound: Audio management (2D/3D, volume, entity binding).
    • UI: UI management (showing/hiding, depth, activation); supports uGUI or NGUI.
    • Web Request: Short-connection GET/POST requests.