Answers for "unity editor script fill a scriptableobject serialized field"

C#
1

unity editor script fill a scriptableobject serialized field

string myAudioClipPath = "Assets/myAudioClip.mp3";
MyScriptableObject asset = MyScriptableObject.CreateInstance<MyScriptableObject>();

asset.myAudioClip = AssetDatabase.LoadAssetAtPath<AudioClip>(myAudioClipPath);
Posted by: Guest on March-29-2021

Code answers related to "unity editor script fill a scriptableobject serialized field"

C# Answers by Framework

Browse Popular Code Answers by Language