初始化仓库

This commit is contained in:
SepComet
2026-02-08 17:08:52 +08:00
commit 8763955323
1132 changed files with 285326 additions and 0 deletions
@@ -0,0 +1,30 @@
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using Entity;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace StarForce
{
public class HideByBoundary : MonoBehaviour
{
private void OnTriggerExit(Collider other)
{
GameObject go = other.gameObject;
EntityBase entity = go.GetComponent<EntityBase>();
if (entity == null)
{
Log.Warning("Unknown GameObject '{0}', you must use entity only.", go.name);
Destroy(go);
return;
}
GameEntry.Entity.HideEntity(entity);
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 649621152579e224a955822793b63aca
timeCreated: 1528026159
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+13
View File
@@ -0,0 +1,13 @@
namespace Scene
{
public enum SceneId : byte
{
Launch = 0,
Menu = 1,
Main = 2,
StressTest = 3,
GameplayA = 4
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 20fc28f41ef04f8fa4fbfb9189b58d0d
timeCreated: 1768899171