Skip to content

Instantly share code, notes, and snippets.

View ninpl's full-sized avatar
:octocat:
Albañil de bits ^.^

N9+ ninpl

:octocat:
Albañil de bits ^.^
View GitHub Profile
@ninpl
ninpl / Utilidades.cs
Created May 11, 2019 18:43
Metodo que genera una ruta de directorios pasandole la ruta por texto.
#region
#if UNITY_EDITOR
using UnityEditor;
using System.IO;
#endif
#endregion
namespace AntonioMoon
{
/// <summary>
@ninpl
ninpl / CellShading.shader
Last active March 7, 2023 10:49
Shader Cell - Iluminación personalizada.
Shader "NinePlus/CellShading"
{
Properties
{
_MainTex("Albedo (RGB)", 2D) = "white" {}
_RampTex("Ramp", 2D) = "white" {}
_CelShadingLevels("Cel Shading Levels", Range(0,15)) = 5
}
SubShader
{
@ninpl
ninpl / SoftLambert.shader
Created February 5, 2019 14:42
Shader simple - Ley de Lambert
Shader "Moon Antonio/SoftLambert"
{
Properties
{
_MainTex("Albedo (RGB)", 2D) = "white" {}
}
SubShader
{
Tags { "RenderType" = "Opaque" }
LOD 200
@ninpl
ninpl / PandoraMotorEditor.cs
Created November 29, 2018 13:53
No funcional.
#region Librerias
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using Sirenix.OdinInspector;
using UnityEngine;
using Sirenix.Utilities.Editor;
using Sirenix.OdinInspector.Demos.RPGEditor;
using System.Collections.Generic;
using System.Linq;
using Sirenix.Utilities;
@ninpl
ninpl / UDetectKey.cs
Created April 26, 2018 03:15
Detectar cualquier tecla o botón presionado. Unity3D.
#region Librerias
using UnityEngine;
using System;
#endregion
namespace MoonAntonio
{
public class UDetectKey : MonoBehaviour
{
private void Update()
@ninpl
ninpl / gist:1c55560229fbe3109fb258fa6ad3255f
Created April 18, 2018 00:26 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@ninpl
ninpl / MiniJSON.cs
Created February 20, 2018 17:46 — forked from darktable/MiniJSON.cs
Unity3D: MiniJSON Decodes and encodes simple JSON strings. Not intended for use with massive JSON strings, probably < 32k preferred. Handy for parsing JSON from inside Unity3d.
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\Unity5]
@=""
"Icon"="%ProgramFiles%\\Unity\\Editor\\Unity.exe"
"MUIVerb"="Open as Unity Project"
[HKEY_CLASSES_ROOT\Folder\shell\Unity5\Command]
@="cmd /c start /D\"c:\\Program Files\\Unity\\Editor\\\" Unity.exe -projectPath \"%1\""

Keybase proof

I hereby claim:

  • I am MoonAntonio on github.
  • I am antmoon (https://keybase.io/antmoon) on keybase.
  • I have a public key whose fingerprint is C864 7A43 5B1F 356A BA08 F2D8 66DB ACBF BA47 FF10

To claim this, I am signing this object:

@ninpl
ninpl / MyForm.cpp
Created September 22, 2017 05:41
Visual Studio 2017 C++ UI main registro
#include "MyForm.h"
using namespace System;
using namespace System ::Windows::Forms;
[STAThread]
void main(array<String^>^ arg) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
NameProject::MyForm form;