This commit is contained in:
2026-05-15 16:15:09 +08:00
commit dd3b97bb48
4515 changed files with 1165044 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();
});
}
}
}