Skip to content

Instantly share code, notes, and snippets.

View Stiner's full-sized avatar

Stiner

View GitHub Profile
@Stiner
Stiner / .gitattributes
Created November 3, 2017 01:31
Git LFS attributes for Unity
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.unity filter=lfs diff=lfs merge=lfs -text
*.prefab merge=unityyamlmerge eol=lf
*.physicsMaterial2D merge=unityyamlmerge eol=lf
*.physicsMaterial merge=unityyamlmerge eol=lf
*.asset merge=unityyamlmerge eol=lf
@Stiner
Stiner / .gitignore
Last active May 2, 2022 04:03
Git ignore list for Unity
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Ll]ogs/
# Autogenerated VS/MD solution and project files
*.csproj
*.unityproj
*.sln
@Stiner
Stiner / gist:b150c30824b21810195a444f9bab2eaa
Last active March 10, 2021 02:55 — forked from ulrikdamm/gist:8274171
PMX 2.0 file format
# PMX 2.0 file format #
This is a description of the PMX file format. This is used for 3D models in Miku Miku Dance (MMD).
Since I couldn't find any English descriptions of the PMX file format, I've made this, which is translated from http://gulshan-i-raz.geo.jp/labs/2012/10/17/pmx-format1/. I haven't used this file format yet, so please don't ask me what everything means.
An English guide to the PMD file format, which preceeded PMX, can be found here: http://mikumikudance.wikia.com/wiki/MMD:Polygon_Model_Data.
If you want to learn more, there are some open source projects on GitHub which can read this format, so go take a look at them.
Note: fields with type text begins with an int (32 bit) with how many bytes of text the section is.
@Stiner
Stiner / pmx21.md
Created January 22, 2017 09:59 — forked from felixjones/pmx21.md
PMX (Polygon Model eXtended) 2.0, 2.1 File Format Specifications

PMX (Polygon Model eXtended) 2.1

This is an English description of the .PMX file format used in Miku Miku Dance (MMD).

PMX is the successor to the .PMD format (Polygon Model Data).

This is work-in-progress! Please leave feedback in the comments.

Todo

@Stiner
Stiner / CheckBoxing.cs
Created February 26, 2016 02:51
List<T>와 ArrayList의 Boxing 확인
using System.Collections;
using System.Collections.Generic;
namespace ConsoleApplication1
{
struct Test
{
public int a;
public Test(int i)
@Stiner
Stiner / TestStructureList.cs
Created February 26, 2016 02:44
C# List<T>에서의 Structure 원소 접근과 수정 테스트
using System.Collections;
using System.Collections.Generic;
namespace ConsoleApplication1
{
struct Test
{
public int a;
public Test(int i)
@Stiner
Stiner / TestClassList.cs
Last active February 25, 2016 09:55
클래스List의 복사 테스트
using System;
using System.Collections.Generic;
namespace ConsoleApplication1
{
class Test
{
public int a = 0;
public Test(int i)
@Stiner
Stiner / Console.cs
Last active August 29, 2015 14:14 — forked from mminer/Console.cs
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// A console to display Unity's debug logs in-game.
/// </summary>
public class Console : MonoBehaviour
{
struct Log
{