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:
@@ -1,4 +1,4 @@
|
||||
using System.Linq;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEngine;
|
||||
using VRC.SDK3.Avatars.Components;
|
||||
using UnityEditor;
|
||||
@@ -65,4 +65,5 @@ namespace AnimatorAsCodeFramework.Examples
|
||||
aac.RemoveAllMainLayers();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user