/// <summary>
 /// 构造方法
 /// </summary>
 /// <param name="options">配置</param>
 /// <param name="isExecWrite">是否执行写入</param>
 public UnitServicesOptionsBase(UnityServicesOptions options, bool isExecWrite = true)
 {
     if (isExecWrite)
     {
         Write(options);
     }
 }
 /// <summary>
 /// 写入到存储里
 /// </summary>
 /// <param name="data">数据</param>
 protected abstract void WriteToStorage(UnityServicesOptions data);
 /// <summary>
 /// 写入
 /// </summary>
 /// <param name="data">数据</param>
 public void Write(UnityServicesOptions data)
 {
     data.Reset();
     WriteToStorage(data);
 }