LoginSignup
1
1

More than 5 years have passed since last update.

PlayModeのTestからのScriptableObject参照

Posted at

結論から言うと、ScriptableObject.Instantiate({生成済みのSOへの参照}) するしかない感じ。

そしてそのための参照は、ResourcesかABで取得しなくてはいけない...
Resources汚染したくない。でもこのためだけにABは...という気もしているが、テストから参照したい場合にどうするのが最適なのか。。

メモ: ScriptableObjectの参照方法あれこれ
https://indie-du.com/entry/2017/04/29/134827

1
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
1
1