mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-12 23:48:59 +08:00
feat: add version defines for VRCSDK
This commit is contained in:
parent
07b648dcc1
commit
5433227c5b
@ -1,4 +1,6 @@
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
using NUnit.Framework;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
@ -37,3 +39,5 @@ namespace modular_avatar_tests
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using nadena.dev.ndmf;
|
||||
@ -159,3 +161,5 @@ namespace modular_avatar_tests
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using System.Linq;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Linq;
|
||||
using nadena.dev.ndmf;
|
||||
using NUnit.Framework;
|
||||
using UnityEditor.Animations;
|
||||
@ -27,3 +29,5 @@ namespace modular_avatar_tests
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,9 +1,10 @@
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
#if MA_VRCSDK3_AVATARS_3_5_2_OR_NEWER
|
||||
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
using NUnit.Framework;
|
||||
using UnityEditor.Animations;
|
||||
using VRC.SDK3.Avatars.Components;
|
||||
|
||||
#if MA_VRCSDK3_AVATARS_3_5_2_OR_NEWER
|
||||
namespace modular_avatar_tests
|
||||
{
|
||||
public class PlayAudioRemapping : TestBase
|
||||
@ -28,4 +29,5 @@ namespace modular_avatar_tests
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using modular_avatar_tests;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.modular_avatar.animation;
|
||||
using nadena.dev.modular_avatar.core;
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
@ -48,3 +50,5 @@ namespace UnitTests.MergeAnimatorTests
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,3 +1,5 @@
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
@ -35,3 +37,4 @@ public class PreexistingParamsTest : TestBase
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using modular_avatar_tests;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.modular_avatar.core;
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
using NUnit.Framework;
|
||||
@ -26,3 +28,5 @@ namespace UnitTests.MergeAnimatorTests.ProxyAnim
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using modular_avatar_tests;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.ndmf;
|
||||
using NUnit.Framework;
|
||||
using UnityEditor.Animations;
|
||||
@ -39,3 +41,5 @@ namespace UnitTests.MergeAnimatorTests.SyncedLayerOverrideInSubStatemachine
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,3 +1,5 @@
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
@ -268,3 +270,4 @@ public class ConvertTransitionTypes : TestBase
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,3 +1,5 @@
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
@ -24,3 +26,5 @@ public class MergeDirectBlendTreeTests : TestBase
|
||||
Assert.AreEqual(0, parameters["DEF"]);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using System.Linq;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Linq;
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
using NUnit.Framework;
|
||||
@ -59,3 +61,5 @@ namespace UnitTests.ReactiveComponent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using System.Linq;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Linq;
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.modular_avatar.core;
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
@ -48,3 +50,5 @@ namespace UnitTests.ReactiveComponent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using modular_avatar_tests;
|
||||
@ -113,3 +115,5 @@ namespace UnitTests.ReactiveComponent.ParameterAssignment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using System;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.modular_avatar.core;
|
||||
@ -83,3 +85,5 @@ namespace UnitTests.ReactiveComponent.ParameterAssignment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,3 +1,5 @@
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@ -96,3 +98,5 @@ public class ShapeDeletionAnalysis : TestBase
|
||||
Assert.AreEqual(originalSharedMesh, mesh.sharedMesh);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using modular_avatar_tests;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.modular_avatar.animation;
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
using NUnit.Framework;
|
||||
@ -122,3 +124,5 @@ namespace ShapeChangerTests
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -1,4 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
@ -58,3 +60,5 @@ namespace UnitTests.VisibleHeadAccessoryTest
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user