Skip to content

Instantly share code, notes, and snippets.

View hai-vr's full-sized avatar

Haï~ hai-vr

View GitHub Profile
@hai-vr
hai-vr / StableTeleportTo.cs
Last active September 6, 2023 17:28
StableTeleportTo.cs
/*
This code snippet is released into the public domain.
If the public domain is not applicable where you are, then it's released under the terms of the CC0 1.0 Universal, which is essentially the same as public domain.
*/
// Teleport to self
StableTeleportTo(Networking.LocalPlayer.GetPosition());
// Teleport to other position
public Vector3 destinationPos = ...;
// MIT License
//
// Copyright (c) 2022 Haï~ (@vr_hai github.com/hai-vr)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@hai-vr
hai-vr / SubtitleManager.cs
Last active July 3, 2022 12:45
SubtitleManager.cs - Shared to twitter
// MIT License
//
// Copyright (c) 2022 Haï~ (@vr_hai github.com/hai-vr)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions: