您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
26 行
1008 B
26 行
1008 B
using Unity.Assertions;
|
|
|
|
namespace Unity.Entities
|
|
{
|
|
public sealed unsafe partial class EntityManager
|
|
{
|
|
// ----------------------------------------------------------------------------------------------------------
|
|
// PUBLIC
|
|
// ----------------------------------------------------------------------------------------------------------
|
|
|
|
// @TODO documentation for serialization/deserialization
|
|
/// <summary>
|
|
/// Prepares an empty <see cref="World"/> to load serialized entities.
|
|
/// </summary>
|
|
public void PrepareForDeserialize()
|
|
{
|
|
Assert.AreEqual(0, Debug.EntityCount);
|
|
m_ManagedComponentStore.PrepareForDeserialize();
|
|
}
|
|
|
|
// ----------------------------------------------------------------------------------------------------------
|
|
// INTERNAL
|
|
// ----------------------------------------------------------------------------------------------------------
|
|
|
|
}
|
|
}
|