Skip to content

Instantly share code, notes, and snippets.

View ReGaSLZR's full-sized avatar

Ren Salazar ReGaSLZR

View GitHub Profile
@ReGaSLZR
ReGaSLZR / EmailSender.cs
Last active February 21, 2024 13:39
(Unity C#) Email Sender (redirects to Email App)
using UnityEngine;
using UnityEngine.Networking;
public class EmailSender : MonoBehaviour
{
public const string USER_SUBJECT = "Email Subject";
public const string USER_RECIPIENT = "receipient_email@gmail.com";
public const string PREFIX_MAIL_TO = "mailto:";
@ReGaSLZR
ReGaSLZR / FileHelper.cs
Created April 21, 2023 05:40
A normal Unity script (class) that contains helper codes for checking, downloading and saving files locally.
using System;
using System.Collections;
using System.IO;
using UnityEngine;
using UnityEngine.Networking;
namespace ReGaSLZR.IO
{
/// <summary>
@ReGaSLZR
ReGaSLZR / Standard-DoubleSided.shader
Created November 23, 2022 07:46 — forked from jminor/Standard-DoubleSided.shader
Unity Standard-DoubleSided.shader
Shader "Standard-DoubleSided"
{
Properties
{
_Color("Color", Color) = (1,1,1,1)
_MainTex("Albedo", 2D) = "white" {}
_Cutoff("Alpha Cutoff", Range(0.0, 1.0)) = 0.5
_Glossiness("Smoothness", Range(0.0, 1.0)) = 0.5
@ReGaSLZR
ReGaSLZR / StandardDoubleSide.shader
Created November 23, 2022 07:45 — forked from naojitaniguchi/StandardDoubleSide.shader
Standerd Double sided shader for Unity
Shader "StandardDoubleSide"
{
Properties
{
_Color("Color", Color) = (1,1,1,1)
_MainTex("Albedo", 2D) = "white" {}
_Cutoff("Alpha Cutoff", Range(0.0, 1.0)) = 0.5
_Glossiness("Smoothness", Range(0.0, 1.0)) = 0.5