<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>makijiam</author_name>
  <author_url>https://blog.hatena.ne.jp/makijiam/</author_url>
  <blog_title>Mono Materials</blog_title>
  <blog_url>https://amacara.net/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>Animator</anon>
  </categories>
  <description>UnityのAnimatorで設定されたAnimationClipの時間（Length）の取得方法について知ったので復習がてらメモ用に簡単に記しておきます。 では、さっそく。 public float GetAnimationClipLength(Animator animator, string clipName) { float clipLength = 0f; var rac = animator.runtimeAnimatorController; var clips = rac.animationClips.Where (x =&gt; x.name == clipName); forea…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famacara.net%2Fentry%2F2017%2F11%2Fanimator_clip_length%2F&quot; title=&quot; AnimatorからAnimationClipのLengthを取得する - Mono Materials&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-05 13:48:20</published>
  <title> AnimatorからAnimationClipのLengthを取得する</title>
  <type>rich</type>
  <url>https://amacara.net/entry/2017/11/animator_clip_length/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
