<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sat-box</author_name>
  <author_url>https://blog.hatena.ne.jp/sat-box/</author_url>
  <blog_title>SAT-BOX BLOG</blog_title>
  <blog_url>https://sat-box.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>どうもカワウソです。 今回はMathfクラスを紹介したいと思います。 まずMathfクラスとは何なのかというと、簡単に言うと計算してくれる便利な関数のことです。数字を入れるだけで計算結果を返してくれます。 Mathfクラスはたくさんあるのですがカワウソが個人的に便利だと思ったいくつかを紹介していきたいと思います。 まずは基本的な切り上げや切り捨てなどは良く使いますね。 float Floor=Mathf.Floor(1.2f); //切り捨て float Ceil=Mathf.Ceil(1.2f); //切り上げ これで結果はFloor=2、Ceil=1になります。 他にも数値を制限するものも…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsat-box.hatenablog.jp%2Fentry%2F2023%2F09%2F15%2F165624&quot; title=&quot;個人的に便利だったMathfクラス！ - SAT-BOX BLOG&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>2023-09-15 16:56:24</published>
  <title>個人的に便利だったMathfクラス！</title>
  <type>rich</type>
  <url>https://sat-box.hatenablog.jp/entry/2023/09/15/165624</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
