This commit is contained in:
CortexCore
2024-12-08 21:02:39 +08:00
parent fba360f1b8
commit 960d33a60c
3 changed files with 2024 additions and 0 deletions

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;