3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NPCの行動制御に使える「Unity Behavior」は「Behavior」で「Behaviour」じゃない

Posted at

Unity Behaviorは、NPCやオブジェクトの制御に利用できるビジュアルツールで、Unity公式のパッケージです。

「Unity Behavior」はBehaviorだよ、Behaviourじゃないよ

このパッケージは、「Unity Behavior」で、「Unity Behaviour」ではないことに注目してください。

ちなみに、

  • Behaviorはアメリカ英語、単語中に「u」なし
  • Behaviourはイギリス英語、単語中に「u」あり

らしいです。ビジュアルツールの「Unity Behavior」は、イギリス英語ではなく、アメリカ英語のBehaviorですね。

Unityに慣れているみなさん(特にブログなどUnityについての文章を頻繁に執筆する皆さん)は要注意ですね。絶対、指が勝手に「Behaviour」って書いちゃうんと思うので。

Unityにおける「Behaviour」、たまに「Behavior」

Unityは、イギリス英語の「behaviour」とつくクラスやメンバーがたくさんありますよね。一番有名な「MonoBehaviour」を筆頭にたとえば次のようなものがあります。

一方で、実は「Unty Behavior」登場前から、アメリカ英語「behavior」とつくクラスやメンバーもあったみたいです。(知らなかった・・・)


ちなみに、クラス名やメンバー名だけじゃなく、公式ドキュメントにも「behaviour」という記述が多数登場します。

PlatformEffector2Dより。

Applies "platform" behaviour such as one-way collisions etc.

また、「Unity Behavior」のドキュメント内に、「名詞」として「bahaviour」という単語が出てきます。

BehaviorGraphより

BehaviorGraph holds all the runtime graph instances linked together into a complete behaviour defined within a BehaviorAuthoringGraph.

困ったことに、「名詞」として「bahavior」という単語が出てくる場合もあります。

iOSAppInBackgroundBehaviorより

Application behavior when entering background.

まとめ

混乱しますね!マジで!

Unityの文章(特に印刷されるもの)は「Behaviour」になっているか気をつけていたのですが、「Behavior」が正しいパターンも出てきましたね。(ていうか、昔からあったんですね。)

もし、自分が間違ってたら、優しく教えてくれると嬉しいです。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?