summaryrefslogtreecommitdiffstats
path: root/Third_Party/at.pimaker.ltcgi/Runtime/LTCGI_ExampleToggle.cs
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-05-13 10:54:57 -0700
committeryum <yum.food.vr@gmail.com>2024-05-13 10:54:57 -0700
commit69a2a65710a11cbd7bfa88e35fba89c5eb412b11 (patch)
tree6d2fa8e5069783936759d85b3a58bf45ca104af2 /Third_Party/at.pimaker.ltcgi/Runtime/LTCGI_ExampleToggle.cs
parent1a4298d33de4420b22c723144a1afbe9a3c61b59 (diff)
Remove everything except headers, LICENSE and README from LTCGIv0.0.0
Diffstat (limited to 'Third_Party/at.pimaker.ltcgi/Runtime/LTCGI_ExampleToggle.cs')
-rw-r--r--Third_Party/at.pimaker.ltcgi/Runtime/LTCGI_ExampleToggle.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/Third_Party/at.pimaker.ltcgi/Runtime/LTCGI_ExampleToggle.cs b/Third_Party/at.pimaker.ltcgi/Runtime/LTCGI_ExampleToggle.cs
deleted file mode 100644
index 290f498..0000000
--- a/Third_Party/at.pimaker.ltcgi/Runtime/LTCGI_ExampleToggle.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-#if UDONSHARP
-using UdonSharp;
-using UnityEngine.Serialization;
-
-// NOTE: This script has to be in the "_LTCGI/Scripts" folder, *or* reference
-// the "LTCGI_AssemblyUdon" to allow it to use the "LTCGI_UdonAdapter" type!
-
-[UdonBehaviourSyncMode(BehaviourSyncMode.None)]
-public class LTCGI_ExampleToggle : UdonSharpBehaviour
-{
- // set this to your controller object (specifically the adapter object):
- [FormerlySerializedAs("Adapter")]
- public LTCGI_UdonAdapter LTCGI_Controller;
-
- // set this however you want:
- public bool StartingState = true;
- private bool state;
-
- void Start()
- {
- state = StartingState;
- LTCGI_Controller._SetGlobalState(state);
- }
-
- // you can make this a UI event as well!
- public override void Interact()
- {
- state = !state;
- LTCGI_Controller._SetGlobalState(state);
- }
-}
-#endif \ No newline at end of file