This commit is contained in:
CortexCore
2024-12-05 20:11:55 +08:00
parent 1b71993e32
commit 531f506137
205 changed files with 23614 additions and 465 deletions

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Threading;
using Cysharp.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Random = UnityEngine.Random;
namespace BITKit.StateMachine
{

View File

@@ -19,6 +19,11 @@ namespace BITKit.WorldNode
}
private void Start()
{
if (worldNode is null)
{
Debug.LogWarning("WorldNode is null");
return;
}
Id = gameObject.GetInstanceID();
worldNode.Id = Id;
worldNode.WorldObject = gameObject;