お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseassetPath | Filesystem path of the asset to load. |
Returns the main asset object at assetPath
.
全てのパスはプロジェクトフォルダに対する相対指定となります。例えば "Assets/MyTextures/hello.png" です。 See Also: AssetDatabase.LoadAssetAtPath, AssetDatabase.LoadAllAssetsAtPath.