提交项目

This commit is contained in:
2026-06-15 11:34:31 +08:00
commit 43d6c0125d
5698 changed files with 1236396 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
using BingoBrain.Asset;
using UnityEngine;
using UnityEngine.Events;
namespace BingoBrain
{
public class GameCell
{
public GameObject gameObject;
public Transform transform;
public void InitByPath(string path, string name, UnityAction action)
{
if (gameObject != null)
{
return;
}
BetKit.Instance.LoadGameObjectAndClone(path, name, go =>
{
gameObject = go;
transform = gameObject.transform;
action?.Invoke();
});
}
}
}