Open Blender and create or import your model.
Press Shift + A → Add Armature (Single Bone).
Select your model → Go to Modifiers → Add Armature Modifier.
Select the armature and go to Pose Mode.
Use Weight Paint Mode to assign bone influences to the mesh.
Export as .FBX (Check “Apply Transform” and “Include Armature”).
Import your .FBX file into Unity.
Select the model and set Rig → Humanoid (for avatars) or Generic (for props).
Check bone assignments using Unity's Avatar Configuration.
Your armature is now ready for animations!
Open Unity, select your avatar/prop, and open the Animation window.
Click Create New Animation → Save as “Idle_Animation”.
Add keyframes to create movement (Example: Slight head bobbing for an idle effect).
Go to Window → Animator and create a new Animator Controller.
Assign the Idle_Animation to a State inside the Animator.
Set it as the Default State (So the avatar/prop plays it automatically).
For avatars, assign the Animator Controller inside the VRC Avatar Descriptor.
For worlds or props, use VRC Animator Locomotion Control and Triggers.
In Unity, create a Hat object under your avatar's Hierarchy.
Set the Hat’s default state to "Disabled" (Uncheck Active in the Inspector).
Open VRChat SDK → Expressions Menu and create a New Parameter:
Name: HatToggle
Type: Bool (True = Visible, False = Hidden)
Inside the Animator, add two states:
Hat_On (Hat Active)
Hat_Off (Hat Hidden)
Add a Boolean Condition in the Animator:
If HatToggle = True → Switch to Hat_On
If HatToggle = False → Switch to Hat_Off
Now, in VRChat, when you toggle HatToggle, the hat will appear/disappear!
Create a Cube (this will be the button).
Create a Door object (another Cube).
Attach a Collider to the button and set it as Trigger.
Arcane_Fairy, Unity Toggle Code, 2025
Add an Udon Behavior Component to the Button.
Attach the DoorToggle UdonSharp Script.
Assign the Door object inside the Inspector.
Now, when you press the button in VRChat, the door will open and close! 🚪🎉
OVERALL
✅ Armatures → Give movement to avatars & props using bones.
✅ Animations → Control movement, expressions, toggles using Unity Animator.
✅ Props → Use colliders, rigidbodies, and VRC Pickup scripts to make them interactive.
✅ Coding (Udon/UdonSharp) → Enables interactivity like buttons, doors, games, and custom interactions.