Horje
unity editor script fill a scriptableobject serialized field Code Example
unity editor script fill a scriptableobject serialized field
string myAudioClipPath = "Assets/myAudioClip.mp3";
MyScriptableObject asset = MyScriptableObject.CreateInstance<MyScriptableObject>();

asset.myAudioClip = AssetDatabase.LoadAssetAtPath<AudioClip>(myAudioClipPath);




Csharp

Related
how to pass class type to method c# Code Example how to pass class type to method c# Code Example
c# detect if string has a nubmer and store it Code Example c# detect if string has a nubmer and store it Code Example
c# determine configration at runtime Code Example c# determine configration at runtime Code Example
c# start as adminstrator Code Example c# start as adminstrator Code Example
C# socket bind to dns name Code Example C# socket bind to dns name Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9