helo wavey
i mainly do stuff with unity
Caution
very dumb
Automatically save the currently open scene in Unity Editor.
A Year Zero revival project.
Various shaders for SLZ URP.
[ServerRpc(RequireOwnership = false)] public void ChallengerExplosionServerRpc() { _willExplode.Value = true; ChallengerExplosionClientRpc(); } [ClientRpc] public void ChallengerExplosionClientRpc() { StartCoroutine(ChallengerExplosion()); _exploding = true; } private IEnumerator ChallengerExplosion() { yield return new WaitForSeconds(1f); _audioSource.PlayOneShot(explodeNoise, 1); Utilities.PlayAudibleNoise(_audioSource, explodeNoise, transform.position, 17f, 1, isInElevator); yield return new WaitForSeconds(timeBeforeExplosion); Utilities.CreateExplosion(transform.position, true, 100, 0f, 6.4f); yield return new WaitForSeconds(2f); if (IsServer) gameObject.GetComponent<NetworkObject>().Despawn(); }