您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
567 B
28 行
567 B
using System;
|
|
using Unity.Collections;
|
|
using Unity.Entities;
|
|
using Unity.Jobs;
|
|
|
|
namespace Unity.Transforms
|
|
{
|
|
[Serializable]
|
|
[WriteGroup(typeof(LocalToWorld))]
|
|
public struct Parent : IComponentData
|
|
{
|
|
public Entity Value;
|
|
}
|
|
|
|
[Serializable]
|
|
public struct PreviousParent : ISystemStateComponentData
|
|
{
|
|
public Entity Value;
|
|
}
|
|
|
|
[Serializable]
|
|
[InternalBufferCapacity(8)]
|
|
[WriteGroup(typeof(ParentScaleInverse))]
|
|
public struct Child : ISystemStateBufferElementData
|
|
{
|
|
public Entity Value;
|
|
}
|
|
}
|