Skip to content

Instantly share code, notes, and snippets.

View leodecm3's full-sized avatar
😜
Click here to set my status

Leonardo Mezavilla leodecm3

😜
Click here to set my status
  • Rio de Janeiro, Brasil
View GitHub Profile
@leodecm3
leodecm3 / .editorconfig
Created July 25, 2022 19:14
My favorite Indentation config for Unity projects
# My favorite Indentation config for Unity projects
# By https://github.com/leodecm3
# Based on the Codemokey YouTube channel code preference https://www.youtube.com/c/CodeMonkeyUnity
#
# Exemple:
#
# using System.Collections;
# using System.Collections.Generic;
# using UnityEngine;
#
:: --------- set the variables for exemple _yyyy is 2022 -------------------------------------------------------
FOR /F "skip=1 tokens=1-6" %%G IN ('WMIC Path Win32_LocalTime Get Day^,Hour^,Minute^,Month^,Second^,Year /Format:table') DO (
IF "%%~L"=="" goto s_done
Set _yyyy=%%L
Set _mm=00%%J
Set _dd=00%%G
Set _hour=00%%H
SET _minute=00%%I
SET _second=00%%K
)
@leodecm3
leodecm3 / DemoSpreadsheet.cs
Created November 4, 2020 23:56 — forked from radiatoryang/DemoSpreadsheet.cs
Unity C# code for grabbing a publicly published Google Docs spreadsheet
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
// usage: place on a UI Text object to visualize spreadsheet data
// preparing a Google Doc: make sure you go to File >> Publish... "Share" does NOT work for this
// publicly editable: https://docs.google.com/spreadsheets/d/1QDaGFXxh3zbVTcQKXygKZ67_EFXjUlGbHbK21ICvv-k/edit?usp=sharing
// view as HTML: https://docs.google.com/spreadsheets/d/1QDaGFXxh3zbVTcQKXygKZ67_EFXjUlGbHbK21ICvv-k/pubhtml
@leodecm3
leodecm3 / README-Template.md
Created July 6, 2019 08:51 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites