projectEli/Assets/NeoFPS/Core/NeoSaveGames/Serialization/INeoSerializedGameObjectContainer.cs

27 lines
811 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
using System;
using System.Collections.Generic;
using UnityEngine;
namespace NeoSaveGames.Serialization
{
public interface INeoSerializedGameObjectContainer
{
Transform rootTransform
{
get;
}
void Awake();
void OnDestroy();
bool Contains(NeoSerializedGameObject nsgo);
void RegisterObject(NeoSerializedGameObject nsgo);
void UnregisterObject(NeoSerializedGameObject nsgo);
void WriteGameObjects(INeoSerializer writer, SaveMode saveMode);
void WriteGameObjects(INeoSerializer writer, NeoSerializationFilter filter, NeoSerializedGameObject[] objects, SaveMode saveMode);
void ReadGameObjectHierarchy(INeoDeserializer reader);
void ReadGameObjectProperties(INeoDeserializer reader);
}
}