Make avatar buildable, and improve examples:

- Surround example code with UNITY_EDITOR condition
- Change assembly definition to depend on VRC
- Improve Example 3: Make it animate a wedge
- Improve ExampleManual Placing States: Add zero argument overload
This commit is contained in:
Haï~
2022-02-27 22:05:43 +01:00
parent 30a970d043
commit e532cd82ac
11 changed files with 35607 additions and 741 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
using System.Linq;
#if UNITY_EDITOR
using UnityEngine;
using VRC.SDK3.Avatars.Components;
using UnityEditor;
@@ -73,4 +73,5 @@ namespace AnimatorAsCodeFramework.Examples
aac.RemoveAllMainLayers();
}
}
}
}
#endif