Exemple #1
0
    private void Awake()
    {
        DatMove dat = new DatMove();

        // Android/data/包名/files
        StartCoroutine(dat.IEMoveDat(Application.streamingAssetsPath + "/Map.dat", () => isComplete = true));
    }
Exemple #2
0
    // Start is called before the first frame update
    void Start()
    {
        DatMove dat = new DatMove();

        // Android/data/包名/files
        StartCoroutine(dat.IEMoveDat("Map.dat", () => {
            isComplete        = true;
            string MapPath    = Application.persistentDataPath + "/Map.dat";
            int check_range   = 2;
            InitDone          = MapSenderManager_Init(MapPath, check_range);
            checkInterval_use = checkInteval;
        }));
    }