Script to make objects toggle On/Off/Toggle/Do nothing
Can be used in any project and allows anything to be toggled,
Script requires Usharp
https://github.com/MerlinVR/UdonSharp
Example code:
public cla...
2022-08-29 11:36:56 +0000 UTC
View Post
Special couches reduced with low poly count.
Use any material you want, gray preferred
2022-05-06 01:36:03 +0000 UTC
View Post
Compared to Unity's own Plane object that is made up to 10x10 planes in one, This optimised one is just "1 plane" instead.
A lot less Tris & Verts
Just import the file and use as your regular plane GameObject!
2022-03-23 20:48:58 +0000 UTC
View Post
This script let's you automatically teleport any object if a player walks into an area for example
"Moving towards this area unhides this object or Teleport this object".
Take the door example from the other door, But now it's an automatic door that does not require user input.
Now when the player...
2022-03-20 00:00:03 +0000 UTC
View Post
This script let's you teleport objects freely to a fixed position,
Excellent use if you want to have a script that
"If player opens door -> Teleport object to this position" to prevent having duplicated objects taking up storage
position
rotation
localScale
Remove the co...
2022-03-18 00:19:50 +0000 UTC
View Post
New avatar being worked on, With a few different toggles such as skin colors and of course pc & quest support!
2022-01-14 11:21:07 +0000 UTC
View Post
What we utilize a string that we call
"public string[] allowedUsers;"
Remember that the Name that is this field needs to be a exact match to how it is in VRChat.
A username that is "Abc123"
Is not the same as
"abc123"
Import the script and place it on any object, It will turn itself into ...
2021-10-12 15:09:16 +0000 UTC
View Post
Spin the bottle U# script,
Attach it to a GameObject then you should be good to go
using UdonSharp;using UnityEngine;using VRC.SDKBase;using VRC.Udon; namespace Thry.SpinTheBottle{ public class Bottle : UdonSharpBehaviour { //===========Public Config fields=========== //Settings pub...
2021-10-03 00:00:02 +0000 UTC
View Post
Have fun with this one!
U#
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
public class ChargeRing1 : UdonSharpBehaviour
{
public UdonBehaviour controller1;
public UdonBehaviour controller2;<...
2021-10-02 15:09:02 +0000 UTC
View Post
Here is a super simple script on how to toggle the state of an object in Unity via Udonsharp U# to be Active or Inactive (Visible or not)
Create a new U# script
Name it something so you can remember it easily.
Open up the script in your editor and then paste this as a public class:
<...
2021-09-21 18:24:59 +0000 UTC
View Post
This script allows you to sync the state of any object to new joiners so they can see what the master sees. Perfect if you use conditions to turn on / off game objects while the world is active.
Example:
Pool table is turned off
Master turns on the pool table
New joiners join with the pool table turned of...
2021-09-13 03:52:15 +0000 UTC
View Post
This is a script with the purpose of resetting the scale of an object to 1,1,1 if you use change the scale of it game.
I attached the script below.
Cheers
2021-09-08 14:52:01 +0000 UTC
View Post
This can be used to increase the height of any object in your worlds.
Create a new U# script.
Name it witha fitting name
Attach the following script:
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
using UnityEngine.UI;
pu...
2021-09-06 08:29:24 +0000 UTC
View Post
You can mostly ignore these, just a test
2021-09-05 12:52:06 +0000 UTC
View Post