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
@spireggs
spireggs / ScrollRectAutoScroll.cs
Last active January 8, 2024 18:28 — forked from mandarinx/ScrollRectAutoScroll.cs
Unity3d ScrollRect Auto-Scroll, Dropdown Use: Places this component in the Template of Dropdown (with the ScrollRect component)
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
//comment the next line out if you aren't using Rewired
using Rewired;
[RequireComponent(typeof(ScrollRect))]
public class ScrollRectAutoScroll : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
@Gkhnzdmr
Gkhnzdmr / extend-trial-jetbrains-windows.bat
Created February 20, 2021 07:30 — forked from Pixke/extend-trial-jetbrains-windows.bat
JetBrains IDE trial reset windows
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
@LotteMakesStuff
LotteMakesStuff / LayoutUtils.cs
Last active November 2, 2023 21:04
Simple tool for importing editor layout files (.wlt files) from the asset folder. this is cool cos you can then share layouts with your team via source control
// put me in an Editor folder
using System.IO;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
public static class LayoutUtils
{
// unity stores layouts in a path referenced in WindowLayout.LayoutsPreferencesPath.
// Unfortunately, thats internal - well just creat the path in the same way they do!
@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;
@ninpl
ninpl / ISSUE_TEMPLATE.md
Last active June 23, 2017 02:58
Template para las issue en github

Describe la mejora,fix o cambio realizado en el proyecto.

  • Caracteristica nueva
  • Cambio realizado
  • Problema nuevo
@ninpl
ninpl / CONTRIBUTING.md
Created June 23, 2017 02:53
Plantilla para CONTRIBUTING.md

Contributing

  1. Fork the repository.
  2. Add your section - make sure you follow the styling guide below.
  3. Commit changes.
  4. Push your commit.
  5. Create a Pull Request.

Styling

@ninpl
ninpl / SceneViewFollow.cs
Last active June 3, 2017 00:37
Permite que el visor de la escena siga al objeto.
// ┌∩┐(◣_◢)┌∩┐
// \\
// SceneViewFollow.cs (28/03/2017) \\
// Autor: Antonio Mateo (Moon Antonio) \\
// Descripcion: Permite camaras en el editor se configuren para seguir \\
// los objetos. \\
// Fecha Mod: 03/06/2017 \\
// Ultima Mod: Cambio de namespace \\
//******************************************************************************\\
@ninpl
ninpl / checklist.md
Last active June 23, 2017 02:58
Checklist en markdown

Checklist en Markdown

  • 01
  • 02
  • 03
  • 04
    • 04.1
    • 04.2
  • 05
  • 06
@ninpl
ninpl / AlinearImagen.md
Last active April 7, 2023 14:27
Alineacion de una imagen en markdown
@ninpl
ninpl / .gitignore
Last active October 22, 2019 15:45
Git ignore para Unity3D 5.5+/2017+/2018+
# ===================================== #
# Carpetas de Unity
# ===================================== #
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/.[Vv][Ss][Cc]ode/
/.[Vv][Ss]/