贪吃蛇源码,非常熟悉的游戏!

unity%e6%b8%b8%e6%88%8f%e6%ba%90%e7%a0%81 - Unity【贪吃蛇】游戏源码(5.x可用)

项目结构一览

─Assets
│      Border.mat
│      border_horizontal.png
│      border_vertical.png
│      Flash.cs
│      food.png
│      food.prefab
│      Game.cs
│      main.unity
│      Snake.cs
│      snake.png
│      SpawnFood.cs
│      trail.prefab
│
└─ProjectSettings
        AudioManager.asset
        ClusterInputManager.asset
        DynamicsManager.asset
        EditorBuildSettings.asset
        EditorSettings.asset
        GraphicsSettings.asset
        InputManager.asset
        NavMeshAreas.asset
        NetworkManager.asset
        Physics2DSettings.asset
        ProjectSettings.asset
        ProjectVersion.txt
        QualitySettings.asset
        TagManager.asset
        TimeManager.asset
        UnityAdsSettings.asset
        UnityConnectSettings.asset

游戏的图片不是很精致,本项目更适合拿来学习逻辑代码!