From a5b3e926c132b1964f5bef54063173db0673f523 Mon Sep 17 00:00:00 2001 From: Victor Soupday <79094830+soupday@users.noreply.github.com> Date: Sun, 31 Jul 2022 20:03:16 +0100 Subject: [PATCH] 1.3.6 Runtime components Build fix. --- Editor/Pipeline.cs | 2 +- Runtime/PhysicsSettingsStore.cs | 4 ++++ package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Editor/Pipeline.cs b/Editor/Pipeline.cs index bb229ce..1362096 100644 --- a/Editor/Pipeline.cs +++ b/Editor/Pipeline.cs @@ -40,7 +40,7 @@ public enum MaterialQuality { None, Default, High, Baked } public static class Pipeline { - public const string VERSION = "1.3.5"; + public const string VERSION = "1.3.6"; #if HDRP_10_5_0_OR_NEWER // version diff --git a/Runtime/PhysicsSettingsStore.cs b/Runtime/PhysicsSettingsStore.cs index 86a5586..ba3f37a 100644 --- a/Runtime/PhysicsSettingsStore.cs +++ b/Runtime/PhysicsSettingsStore.cs @@ -4,14 +4,17 @@ using UnityEditor; using System.IO; using System.Linq; +#if UNITY_EDITOR using PhysicsSettings = Reallusion.Import.WeightMapper.PhysicsSettings; using ColliderSettings = Reallusion.Import.ColliderManager.ColliderSettings; +#endif namespace Reallusion.Import { [System.Serializable] public class PhysicsSettingsStore : ScriptableObject { +#if UNITY_EDITOR public ColliderSettings[] colliderSettings; public List clothSettings; @@ -250,5 +253,6 @@ private static bool TryGetSavedIndex(List savedClothSettings, P return false; } +#endif } } diff --git a/package.json b/package.json index 9665a4f..2c90ff9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.soupday.cc3_unity_tools", - "version": "1.3.5", + "version": "1.3.6", "displayName": "CC/iC Unity Tools 3D", "description": "Unity importer for Character Creator 3 & 4 and iClone 7 and 8.", "unity": "2019.4",