using com.gameconfig;
using FlatBuffers;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class Test1 : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.LogError(sizeof(int));
Debug.LogError(sizeof(float));
Debug.LogError(sizeof(double));
Save();
Load();
}
void Save()
{
// Create flatbuffer class
FlatBufferBuilder fbb = new FlatBufferBuilder(1);
//------------------------------------------------------
// Create GameDataWhatever object we will store string and weapon in
//------------------------------------------------------
int i = 1;
int offic = 0;
Off