提交 6cfaa16f 编写于 作者: 魔术师Dix's avatar 魔术师Dix

【Fix】修改命名空间和循环引用的问题;

上级 8a7b2032
...@@ -105,7 +105,7 @@ namespace Aster ...@@ -105,7 +105,7 @@ namespace Aster
if (target == null) if (target == null)
return; return;
obj?.SetParent(target.transform, resetTrans); obj?.transform.SetParent(target.transform, resetTrans);
} }
public static void SetActiveSafe(this GameObject obj, bool active) public static void SetActiveSafe(this GameObject obj, bool active)
......
...@@ -11,7 +11,7 @@ using Unity.Entities; ...@@ -11,7 +11,7 @@ using Unity.Entities;
using Unity.Mathematics; using Unity.Mathematics;
using UnityEngine; using UnityEngine;
namespace Aster namespace Aster.ECS
{ {
public struct ATransform : IComponentData public struct ATransform : IComponentData
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册