(MIGRATION) Fix all compilation issues

This commit is contained in:
Haï~
2023-10-02 04:47:57 +02:00
parent c4174120b9
commit af5ce1576b
24 changed files with 185 additions and 95 deletions
+3 -3
View File
@@ -1,6 +1,7 @@
#if UNITY_EDITOR
using System;
using AnimatorAsCode.V0;
using AnimatorAsCode.V1;
using AnimatorAsCode.V1.VRCDestructiveWorkflow;
using UnityEditor;
using UnityEngine;
using VRC.SDK3.Avatars.Components;
@@ -90,7 +91,6 @@ namespace AnimatorAsCodeFramework.Examples
{
SystemName = systemName,
// In the examples, we consider the avatar to be also the animator root.
AvatarDescriptor = avatar,
// You can set the animator root to be different than the avatar descriptor,
// if you want to apply an animator to a different avatar without redefining
// all of the game object references which were relative to the original avatar.
@@ -105,7 +105,7 @@ namespace AnimatorAsCodeFramework.Examples
AssetContainer = assetContainer,
AssetKey = assetKey,
DefaultsProvider = new AacDefaultsProvider(writeDefaults: options.WriteDefaults)
});
}.WithAvatarDescriptor(avatar));
aac.ClearPreviousAssets();
return aac;
}
+1
View File
@@ -1,4 +1,5 @@
#if UNITY_EDITOR
using AnimatorAsCode.V1.VRCDestructiveWorkflow;
using UnityEngine;
using VRC.SDK3.Avatars.Components;
using UnityEditor;
+1
View File
@@ -1,4 +1,5 @@
#if UNITY_EDITOR
using AnimatorAsCode.V1.VRCDestructiveWorkflow;
using UnityEngine;
using VRC.SDK3.Avatars.Components;
using UnityEditor;
+1
View File
@@ -1,4 +1,5 @@
#if UNITY_EDITOR
using AnimatorAsCode.V1.VRCDestructiveWorkflow;
using UnityEngine;
using VRC.SDK3.Avatars.Components;
using UnityEditor;
+3 -2
View File
@@ -1,11 +1,12 @@
#if UNITY_EDITOR
using System.Linq;
using AnimatorAsCode.V0;
using AnimatorAsCode.V0.Extensions.VRChat;
using AnimatorAsCode.V1;
using UnityEngine;
using VRC.SDK3.Avatars.Components;
using UnityEditor;
using UnityEditor.Animations;
using AnimatorAsCode.V1.VRCDestructiveWorkflow;
using AnimatorAsCode.V1VRC;
namespace AnimatorAsCodeFramework.Examples
{
@@ -1,4 +1,5 @@
#if UNITY_EDITOR
using AnimatorAsCode.V1.VRCDestructiveWorkflow;
using UnityEngine;
using VRC.SDK3.Avatars.Components;
using UnityEditor;