I have a scripatable asset,which referrence to other asset.I make a UNITY_EDITOR to it and want it not to be built into this bundle(that asset has its own bundle) ,but fail.Does anyone know anything wrong for this matter or how to handle it?
MyAsset: ScriptableAsset
{
public int Index;
#if UNITY_EDITOR
public AnotherAsset AssetB; // Actually built into bundle,and has referrence in manifest
#endif
}
myAsset.bundle + assetB.bundle
myAsset.bundle.manifest:
dependency: assetB.bundle