helo wavey

i mainly do stuff with unity

Caution

very dumb

cool stuff

UnitySceneAutoSave

Automatically save the currently open scene in Unity Editor.

Hour Of Arrival

A Year Zero revival project.

Mabel's Shaders

Various shaders for SLZ URP.

other cool stuff

this guy

reznor

this album

artisresistance

look at these great method names

[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();
}