{"id":47954,"date":"2023-01-20T01:50:21","date_gmt":"2023-05-11T05:26:44","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/"},"modified":"2024-04-29T10:34:42","modified_gmt":"2024-04-29T02:34:42","slug":"%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/","title":{"rendered":"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld"},"content":{"rendered":"<p>\u8fd9\u662fAWS &amp; Game Advent Calendar 2020\u6d3b\u52a8\u7684\u7b2c4\u5929\u6587\u7ae0\u3002<\/p>\n<h1>\u9996\u5148<\/h1>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/2-1.png\" alt=\"AppSyncArchitecture.png\" \/><\/div>\n<h1>\u4e9a\u9a6c\u900a\u4e91\u670d\u52a1 AppSync<\/h1>\n<p>AWS AppSync \u662f\u4e00\u4e2a GraphQL \u7ba1\u7406\u670d\u52a1\u3002\u867d\u7136\u4e0d\u8be6\u7ec6\u89e3\u91ca GraphQL\uff0c\u4f46\u5728\u6e38\u620f\u5f00\u53d1\u4e2d\uff0c\u53ef\u80fd\u53ef\u4ee5\u4eab\u53d7\u4ee5\u4e0b\u4e3b\u8981\u4f18\u70b9\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4e00\u5ea6\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u5fc5\u8981\u3068\u3059\u308b\u5168\u3066\u306e\u30c7\u30fc\u30bf\u3092\u904e\u4e0d\u8db3\u306a\u304f\u53d6\u5f97\u3059\u308b(\u8907\u6570\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3067\u3082\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5206\u3051\u308b\u5fc5\u8981\u304c\u306a\u304f\u52b9\u7387\u7684)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">GraphQL\u30b9\u30ad\u30fc\u30de\u306b\u3088\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8-\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u5f37\u529b\u306a\u578b\u4ed8\u3051<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u30fb\u66f4\u65b0\u3060\u3051\u3067\u306a\u304fGraphQL\u306eSubscriptions\u306b\u3088\u3063\u3066\u3001WebSocket\u3092\u4ecb\u3057\u305f\u30c7\u30fc\u30bf\u66f4\u65b0\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u306e\u30d7\u30c3\u30b7\u30e5\u304c\u53ef\u80fd(\u30c1\u30e3\u30c3\u30c8\u6a5f\u80fd\u306a\u3069\u306e\u5b9f\u88c5)<\/ul>\n<p>AWS AppSync\u662f\u4e00\u4e2a\u57fa\u4e8eGraphQL\u7684\u6258\u7ba1\u670d\u52a1\uff0c\u5b83\u4f7f\u6784\u5efaGraphQL API\u670d\u52a1\u5668\u548c\u7ba1\u7406\u57fa\u7840\u8bbe\u65bd\u53d8\u5f97\u975e\u5e38\u7b80\u5355\uff0c\u4ece\u800c\u4f7f\u6211\u4eec\u66f4\u5bb9\u6613\u83b7\u5f97\u4e0a\u8ff0GraphQL\u7684\u4f18\u70b9\u3002<br \/>\n\u540c\u65f6\uff0c\u7531\u4e8e\u5b83\u4e0e\u5176\u4ed6AWS\u670d\u52a1\u7684\u96c6\u6210\u975e\u5e38\u5bb9\u6613\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06AWS AppSync\u4e0eAWS Lambda\u6216Amazon DynamoDB\u7b49\u65e0\u670d\u52a1\u5668\u670d\u52a1\u7ed3\u5408\u8d77\u6765\uff0c\u4ece\u800c\u6784\u5efa\u4e00\u4e2a\u5b8c\u5168\u65e0\u670d\u52a1\u5668\u7684\u540e\u7aef\u3002<\/p>\n<h1>\u5b9e\u65bd<\/h1>\n<h2>AWS AppSync\u7684\u914d\u7f6e<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/9-2.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c83.png\" \/><\/div>\n<pre class=\"post-pre\"><code>type Query {\r\n    text: String\r\n}\r\n\r\nschema {\r\n    query: Query\r\n}\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/11-3.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c87.png\" \/><\/div>\n<pre class=\"post-pre\"><code>{\r\n    \"version\": \"2017-02-28\",\r\n    \"payload\": {}\r\n}\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/13-1.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c89.png\" \/><\/div>\n<h1>Unity\u7684\u5b9e\u73b0<\/h1>\n<p>\u521b\u5efaUnity\u9879\u76ee\u3002<\/p>\n<p>\u8981\u8bbf\u95eeAWS AppSync\uff0c\u9700\u8981\u4f7f\u7528GraphQL\u7684\u5ba2\u6237\u7aef\u3002\u60f3\u8981\u5b89\u88c5\u5305\u542bGraphQL\u5ba2\u6237\u7aef\u7684\u8f6f\u4ef6\u5305\uff0c\u53ef\u4ee5\u4f7f\u7528NuGet\uff0c\u56e0\u6b64\u9996\u5148\u8981\u5b89\u88c5NuGetForUnity\u3002\u53ef\u4ee5\u4ecehttps:\/\/github.com\/GlitchEnzo\/NuGetForUnity\/releases\u4e0b\u8f7d\u300cNuGetForUnity.X.Y.Z.unitypackage\u300d\uff0c\u7136\u540e\u5c06unitypackage\u5bfc\u5165\u5230UnityProject\u4e2d\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/17-1.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c811.png\" \/><\/div>\n<p>\u5728\u641c\u7d22\u7ed3\u679c\u4e2d\u4f1a\u663e\u793a\u8bb8\u591a\u4e0eGraphQL\u6709\u5173\u7684\u8f6f\u4ef6\u5305\uff0c\u4f46\u6211\u4eec\u8fd9\u6b21\u53ea\u9700\u5b89\u88c5\u4ee5\u4e0b\u5bf9\u5b9e\u73b0HelloWorld\u6240\u5fc5\u9700\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">GraphQL.Client<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">GraphQL.Client.Serializer.Newtonsoft<\/ul>\n<p>\u5f53\u5b89\u88c5\u4e0a\u8ff0\u8f6f\u4ef6\u5305\u540e\uff0c\u60a8\u53ef\u4ee5\u5728\u201cAssets\u201d\u6587\u4ef6\u5939\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3aHelloWorldButton\u7684C#\u811a\u672c\uff0c\u5e76\u5c06\u4ee5\u4e0b\u4ee3\u7801\u590d\u5236\u5e76\u7c98\u8d34\u8fdb\u53bb\u3002<\/p>\n<pre class=\"post-pre\"><code>using System.Collections;\r\nusing System.Collections.Generic;\r\nusing System.Threading;\r\nusing UnityEngine;\r\nusing GraphQL.Client.Http;\r\nusing GraphQL.Client.Abstractions;\r\nusing GraphQL.Client.Serializer.Newtonsoft;\r\npublic class HelloWorldButton : MonoBehaviour\r\n{\r\n    const string API_URL = \"\";\r\n    const string API_KEY = \"\";\r\n\r\n    class HelloWorldResponse\r\n    {\r\n        public string text { get; set; }\r\n    }\r\n    public async void OnClick()\r\n    {\r\n        var graphQLClient = new GraphQLHttpClient(API_URL, new NewtonsoftJsonSerializer());\r\n        graphQLClient.HttpClient.DefaultRequestHeaders.Add(\"x-api-key\", API_KEY);\r\n\r\n        var query = \"query MyQuery { text }\";\r\n        var graphQLResponse = await graphQLClient.SendQueryAsync&lt;HelloWorldResponse&gt;(query, CancellationToken.None);\r\n        Debug.Log(graphQLResponse.Data.text);\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u4ee3\u7801\u4e2d\u7684\u5e38\u91cf API_URL \u548c API_KEY \u7684\u503c\u4e3a\u7a7a\u5b57\u7b26\u4e32\uff0c\u4f46\u60a8\u9700\u8981\u5c06\u5b83\u4eec\u5206\u522b\u590d\u5236\u7c98\u8d34\u4e3a AWS AppSync \u914d\u7f6e\u9875\u9762\u4e0a\u663e\u793a\u7684\u300cAPI URL\u300d\u548c\u300cAPI KEY\u300d\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/23-3.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c815.png\" \/><\/div>\n<h1>\u6700\u540e<\/h1>\n<p>\u8fd9\u6b21\u6211\u4eec\u4ec5\u4ec5\u5728Unity\u548cAWS AppSync\u4e0a\u5b9e\u65bd\u4e86HelloWorld\uff0c\u4f46\u662f\u5c06\u6765\u6211\u4eec\u8fd8\u5e0c\u671b\u603b\u7ed3\u4e00\u4e9b\u4f7f\u7528GraphQL\u4f5c\u4e3a\u6e38\u620f\u540e\u7aef\u4ee5\u53ca\u96c6\u6210AWS AppSync\u548c\u5176\u4ed6\u670d\u52a1\u7684\u793a\u4f8b\u3002<br \/>\n\u7279\u522b\u662f\u4f5c\u4e3aAWS AppSync\u5b9e\u73b0\u7528\u6237\u8ba4\u8bc1\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u5c06Amazon Cognito\u6574\u5408\u5728\u4e00\u8d77\u5c06\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u5b9e\u4f8b\uff0c\u56e0\u6b64\u4e0b\u6b21\u6211\u4eec\u5e0c\u671b\u603b\u7ed3\u4e00\u4e0b\u76f8\u5173\u5185\u5bb9\u3002<\/p>\n<p>\u5982\u679c\u60a8\u662f\u5728\u6e38\u620f\u7684\u540e\u7aef\u4f7f\u7528\u8fc7GraphQL\u7684\u4eba\uff0c\u6216\u8005\u5bf9GraphQL\u6709\u4e86\u89e3\u7684\u4eba\uff0c\u6211\u4eec\u5e0c\u671b\u80fd\u542c\u5230\u60a8\u7684\u610f\u89c1\u3002<\/p>\n<p>(\u514d\u8d23) \u672c\u6587\u4ec5\u4ee3\u8868\u4e2a\u4eba\u89c2\u70b9\uff0c\u4e0e\u6240\u5c5e\u516c\u53f8\u6216\u7ec4\u7ec7\u65e0\u5173\u3002<\/p>\n<h1>\u8bf7\u63d0\u4f9b\u60a8\u9700\u8981\u7ffb\u8bd1\u7684\u5177\u4f53\u5185\u5bb9\uff0c\u8c22\u8c22\uff01<\/h1>\n<p>\u65e0\u670d\u52a1\u5668\u79fb\u52a8\u6e38\u620f\u540e\u7aef\u548c AWS-AppSync \u6e38\u620f\u6280\u672f\u4e4b\u591c-2<br \/>\n<iframe loading=\"lazy\" title=\"Serverless backendformobilegame and_aws-appsync_gamingtechnight-2\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/joTRBy2GMFwhIN\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/AmazonWebServicesJapan\/serverless-backendformobilegame-andawsappsyncgamingtechnight2\" title=\"Serverless backendformobilegame and_aws-appsync_gamingtechnight-2\" target=\"_blank\">Serverless backendformobilegame and_aws-appsync_gamingtechnight-2<\/a> <\/strong> from <strong><a href=\"https:\/\/www.slideshare.net\/AmazonWebServicesJapan\" target=\"_blank\">Amazon Web Services Japan<\/a><\/strong> <\/div>\n<p>\u5229\u7528 AWS AppSync \u8fdb\u884c Hello World<br \/>\nhttps:\/\/www.injpok.tokyo\/posts\/2018\/08\/helloappsync\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u662fAWS &amp; Game Advent Calendar 2020\u6d3b\u52a8\u7684\u7b2c4\u5929\u6587\u7ae0\u3002 \u9996\u5148 \u4e9a\u9a6c\u900a\u4e91\u670d [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-47954","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528unity\u548caws-appsync\u521b\u5efahelloworld\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld\" \/>\n<meta property=\"og:description\" content=\"\u8fd9\u662fAWS &amp; Game Advent Calendar 2020\u6d3b\u52a8\u7684\u7b2c4\u5929\u6587\u7ae0\u3002 \u9996\u5148 \u4e9a\u9a6c\u900a\u4e91\u670d [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528unity\u548caws-appsync\u521b\u5efahelloworld\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-11T05:26:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T02:34:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/2-1.png\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/\",\"name\":\"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-11T05:26:44+00:00\",\"dateModified\":\"2024-04-29T02:34:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528unity\u548caws-appsync\u521b\u5efahelloworld\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld","og_description":"\u8fd9\u662fAWS &amp; Game Advent Calendar 2020\u6d3b\u52a8\u7684\u7b2c4\u5929\u6587\u7ae0\u3002 \u9996\u5148 \u4e9a\u9a6c\u900a\u4e91\u670d [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528unity\u548caws-appsync\u521b\u5efahelloworld\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-11T05:26:44+00:00","article_modified_time":"2024-04-29T02:34:42+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8231913a08637a6af1d5\/2-1.png"}],"author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/","name":"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-11T05:26:44+00:00","dateModified":"2024-04-29T02:34:42+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528Unity\u548cAWS AppSync\u521b\u5efaHelloWorld"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8unity%e5%92%8caws-appsync%e5%88%9b%e5%bb%bahelloworld%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/47954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=47954"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/47954\/revisions"}],"predecessor-version":[{"id":84754,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/47954\/revisions\/84754"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=47954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=47954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=47954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}