Hi all.
I have two LightningData.asset files. (Let it be LD_current and LD_new)
I want to load LD_new dynamicly in my game and i have a reference for LD_new in the inspector.
But when i am trying next code, I have no effect.
UnityEditor.Lightmapping.lightningDataAsset = LD_new;
Is there any way to load dynamicly another LightningData.asset?
I am using unity 5.5