2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Unity-Chan! のスクリプトを直す(2020年11月)

2
Posted at

環境(主な部分)

いずれも執筆時点(2020-11-01)、一般的な方法で入手可能な最新版。

  • Windows 10 Home 1909
  • Unity 2020.1.11f1
    • Unity-Chan! Model (unity-chan!) v1.2.2
    • Visual Studio Code Editor (Unity Technologies) v1.2.3
  • VS Code 1.50.1
    • C# (Microsoft) v1.23.4
    • Mono Debug (Microsoft) v0.16.2
    • Visual Studio IntelliCode (Microsoft) v1.2.10
    • Debugger for Unity (Unity Technologies) v2.7.5

やったこと

その1

Assets\unity-chan!\Unity-chan! Model\Scripts\IdleChanger.cs

'AnimatorStateInfo.nameHash' は旧形式です ('AnimatorStateInfo.nameHash has been deprecated. Use AnimatorStateInfo.fullPathHash instead.')

と言われる個所が4つあるので、書いてある通り、nameHashfullPathHash に書き換え。

その2

Assets\unity-chan!\Unity-chan! Model\Scripts\UnityChanControlScriptWithRigidBody.cs

'AnimatorStateInfo.nameHash' は旧形式です ('AnimatorStateInfo.nameHash has been deprecated. Use AnimatorStateInfo.fullPathHash instead.')

と言われる個所が5つあるので、書いてある通り、nameHashfullPathHash に書き換え。

以上。

2
0
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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?