Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

There is no documentation at all, I had to go on an review the code to learn how to change the graphics, also about your code... you didnt use scriptable objects to hold the data, instead you look for the gameobjects name and folder name, thats not very user friendly. Tile group could have been one scriptable object, making it more user friend and modular, it would have saved you some code, and string comparisons, and would have made it folder and name agnostic.  But oh well... Now I have to rewrite your code... 

全くドキュメントがありませんでした。グラフィックを変更する方法を学ぶために、コードを確認する必要がありました。あと、あなたのコードについてですが… scriptable objects をデータの保持に使用していませんね。その代わりに、GameObject の名前やフォルダ名を参照していますが、あまりユーザーフレンドリーではありません。

Tile group は 1 つの scriptable object にできたはずです。そうすれば、よりユーザーフレンドリーかつモジュラーになり、コード量の削減や文字列比較を減らせたでしょうし、フォルダや名前に依存しない作りにできたはずです。

まぁ仕方ないですね… 今からあなたのコードを書き直さないといけません。