{"blog_url":"https://www.hanachiru-blog.com/","version":"1.0","author_name":"hanaaaaaachiru","type":"rich","image_url":null,"width":"100%","blog_title":"\u306f\u306a\u3061\u308b\u306e\u30de\u30a4\u30ce\u30fc\u30c8","provider_name":"Hatena Blog","height":"190","description":"\u306f\u3058\u3081\u306b \u4e09\u9805\u6f14\u7b97\u5b50\uff08\u6761\u4ef6\u6f14\u7b97\u5b50\uff09\u306f?:\u3092\u4f7f\u3044\u3001\u6761\u4ef6\u3092\u5224\u5b9a\u3057\u3066\u3001\u771f\u3068\u507d\u3067\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u5024\u3092\u5909\u6570\u306b\u4ee3\u5165\u3057\u307e\u3059\u3002\u3053\u306e\u6f14\u7b97\u5b50\u306b\u3064\u3044\u3066\u304b\u308b\u304f\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002 \u69cb\u6587 using UnityEngine; public class Hoge : MonoBehaviour { void Start() { int a = 2; int b = 4; int num = a == b ? 1 : 0; Debug.Log(num); //0 num = a != b ? 1 : 0; Debug.Log(num); //1 } } \u3053\u306e\u3088\u3046\u306b\u6761\u4ef6\u5f0f?\u6761\u4ef6\u5f0f\u304ctrue\u306e\u6642\u306b\u8fd4\u3059\u5024:\u6761\u4ef6\u5f0f\u304cfalse\u306e\u6642\u306b\u8fd4\u2026","published":"2019-03-23 16:14:20","provider_url":"https://hatena.blog","categories":["Unity","C#"],"title":"\u3010Unity\u3011\u4e09\u9805\u6f14\u7b97\u5b50\uff08\u6761\u4ef6\u6f14\u7b97\u5b50\uff09\u3092\u304b\u308b\u304f\u307e\u3068\u3081\u3066\u307f\u305f","author_url":"https://blog.hatena.ne.jp/hanaaaaaachiru/","url":"https://www.hanachiru-blog.com/entry/2019/03/23/161420","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2019%2F03%2F23%2F161420\" title=\"\u3010Unity\u3011\u4e09\u9805\u6f14\u7b97\u5b50\uff08\u6761\u4ef6\u6f14\u7b97\u5b50\uff09\u3092\u304b\u308b\u304f\u307e\u3068\u3081\u3066\u307f\u305f - \u306f\u306a\u3061\u308b\u306e\u30de\u30a4\u30ce\u30fc\u30c8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}