1234567891011121314151617181920212223242526 |
- using UnityEngine;
- using System.Collections;
- namespace Engine.Data
- {
- public class ByteDataBase
- {
- /// <summary>唯一ID</summary>
- public int b_id;
- /// <summary>读取数据</summary>
- public virtual void ReadInfo(ByteDataArray byteArray)
- {
- if (byteArray != null)
- {
- this.InitContent(byteArray);
- }
- }
- /// <summary>数据的实际内容</summary>
- protected virtual void InitContent(ByteDataArray byteArray)
- {
- }
- }
- }
|