Ejemplo n.º 1
0
    void Start()
    {
        gameData = datamanager.LoadData();
        Debug.Log($"posX: {gameData.Position}");
        player.transform.position = gameData.Position;

        /*Debug.Log($"posX: {gameData.PosX}");
         * Debug.Log($"posY: {gameData.PosY}");
         * player.transform.position = new Vector2(gameData.PosX, gameData.PosY);*/
    }