feat(init): 搭建初始的项目框架
This commit is contained in:
12
Assets/Script/UI/StartGameButton.cs
Normal file
12
Assets/Script/UI/StartGameButton.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
using Core;
|
||||
namespace UI
|
||||
{
|
||||
public class StartGameButton : UIBase
|
||||
{
|
||||
public void StartGame()
|
||||
{
|
||||
ScenesManager.Instance.LoadGameplay("Level1");
|
||||
}
|
||||
}
|
||||
}
|
||||
3
Assets/Script/UI/StartGameButton.cs.meta
Normal file
3
Assets/Script/UI/StartGameButton.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ca5b9d4538234778ab1f51d220e79e8b
|
||||
timeCreated: 1760406127
|
||||
18
Assets/Script/UI/UI.asmdef
Normal file
18
Assets/Script/UI/UI.asmdef
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "UI",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:ec826b79cbc40da479bcc7969404880e",
|
||||
"GUID:fd0e97c21c15497f9406b8ee23c1f67e",
|
||||
"GUID:9e4105fe56ff4b1789a1683a3c08d507"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
3
Assets/Script/UI/UI.asmdef.meta
Normal file
3
Assets/Script/UI/UI.asmdef.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 65e534cfaf6f474895bcfa96809b48ca
|
||||
timeCreated: 1760361420
|
||||
Reference in New Issue
Block a user