{"id":1606,"date":"2019-01-24T20:48:18","date_gmt":"2019-01-24T11:48:18","guid":{"rendered":"http:\/\/naochang.me\/?p=1606"},"modified":"2019-02-19T14:46:10","modified_gmt":"2019-02-19T05:46:10","slug":"timline-time-%e3%82%92%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%ab%e3%81%97%e3%81%9f%e9%9a%9b%e3%81%abanimationclip%e3%81%8c%e5%86%8d%e7%94%9f%e3%81%95%e3%82%8c%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"https:\/\/stacstar.jp\/blog\/?p=1606","title":{"rendered":"Timline.time \u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u305f\u969b\u306bAnimationClip\u304c\u518d\u751f\u3055\u308c\u306a\u3044"},"content":{"rendered":"<p>Editor\u4e0a\u3067\u306f\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u306e\u30d8\u30c3\u30c0\u3092\u3044\u3058\u308b\u3068\u518d\u751f\u3055\u308c\u308b\u306e\u306b\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089Timeline.time\u3092\u76f4\u63a5\u3044\u3058\u3063\u3066Timeline.Evaluate()\u3092\u3055\u305b\u305f\u5834\u5408\u306b\u3001\u914d\u7f6e\u3057\u3066\u3042\u308bAnimationClip\u304c\u518d\u751f\u3055\u308c\u308b\u5834\u5408\u3068\u3055\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u3063\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/timeline_control_by_script.gif\" alt=\"\" width=\"700\" height=\"350\" class=\"border aligncenter size-full wp-image-1608\" \/><\/p>\n<p><!--more--><\/p>\n<p>\u518d\u751f\u3059\u308b\u30b3\u30fc\u30c9\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<pre class=\"brush: unitycsharp; title: ; notranslate\" title=\"\">\r\nPlayableDirector timeline; \/\/ Stop\u72b6\u614b\r\n\r\nfloat time = 0f;\r\n\r\nprivate void Update() {\r\n    this.time += 0.1f;\r\n    this.timeline.time = this.time;\r\n    this.timeline.Evaluate();\r\n)\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/timline_animationcontroller.png\" alt=\"\" width=\"708\" height=\"143\" class=\"aligncenter size-full wp-image-1613\" srcset=\"https:\/\/stacstar.jp\/blog\/.\/wp-content\/uploads\/timline_animationcontroller.png 708w, https:\/\/stacstar.jp\/blog\/.\/wp-content\/uploads\/timline_animationcontroller-300x61.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/p>\n<p>\u52d5\u304b\u306a\u3044\u65b9\u306b\u306fAnimationController\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u3066\u3001\u52d5\u304f\u65b9\u306fAnimator\u306eController\u304cNone\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n<p><span class=\"important\">\u8ffd\u8a18) 2019.02.19<\/span><br \/>\n\u305d\u306e\u5f8c UnityQA \u30c1\u30fc\u30e0\u304b\u3089\u8fd4\u4fe1\u3092\u3044\u305f\u3060\u304d\u3001<span class=\"keyword\">Evaluate()<\/span> \u3067\u306f\u305d\u306e\u5f8c\u306b AnimationController \u306a\u3069\u304b\u3089\u5024\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001<span class=\"keyword\">DeferredEvaluate()<\/span> \u304c\u4f7f\u3048\u308b\u3088\u3068\u6559\u3048\u3066\u3082\u3089\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Editor\u4e0a\u3067\u306f\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u306e\u30d8\u30c3\u30c0\u3092\u3044\u3058\u308b\u3068\u518d\u751f\u3055\u308c\u308b\u306e\u306b\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089Timeline.time\u3092\u76f4\u63a5\u3044\u3058\u3063\u3066Timeline.Evaluate()\u3092\u3055\u305b\u305f\u5834\u5408\u306b\u3001\u914d\u7f6e\u3057\u3066\u3042\u308bAnimationClip\u304c\u518d\u751f\u3055\u308c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1606","post","type-post","status-publish","format-standard","hentry","category-unity"],"_links":{"self":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1606"}],"version-history":[{"count":9,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1606\/revisions"}],"predecessor-version":[{"id":1641,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1606\/revisions\/1641"}],"wp:attachment":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}