Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View steamb23's full-sized avatar
🎓
Studying at collage

SteamB23 steamb23

🎓
Studying at collage
View GitHub Profile
SecureInt64
Create: 0.0037 ms
Write: 0.4398 ms
Value: 623416731
Raw Value: -253872919152700637
Read: 0.001 ms
temp Value: 623416731
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace UnityEngine
{
[Serializable]
public class PlayerData : ISerializable
{
@steamb23
steamb23 / AutoSortingOrder.cs
Last active January 13, 2016 16:15
AutoSortingOrder / Licence : MIT
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AutoSortingOrder : MonoBehaviour
{
public SpriteRenderer targetSpriteRenderer;
public SortingLayer layer;
public int sortingOrder = 0;
public int sortingOrderManagerMinOrder = 0;
@steamb23
steamb23 / AutoSortingOrderManager.cs
Last active January 13, 2016 16:15
AutoSortingOrderManager / Licence : MIT
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AutoSortingOrderManager : MonoBehaviour
{
SortedList<int, List<SpriteRenderer>> sortList = new SortedList<int, List<SpriteRenderer>>();
public int minSortingOrder = 0;
bool isStart;
public bool IsStart
/*
* Author : SteamB23
* License : MIT
*/
using System.Runtime.Serialization;
namespace System
{
/// <summary>
@steamb23
steamb23 / 0_reuse_code.js
Created February 12, 2016 12:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/* steamb23console.h
* ============================
* 설명 : Net 콘솔 클래스 C++ 포팅
* ============================
* 릴리즈 날짜 : 2016-10-21
* gist 주소 : https://gist.github.com/steamb23/7d67cc5e7193494847b82fa7a35c0ae7
* ============================
*
* .Net 4.6의 콘솔 클래스를 C++ 로 포팅하였습니다.
*
/*
Copyright 2021 SteamB23
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of
the Software.
@steamb23
steamb23 / ParseHelper.cs
Last active August 26, 2023 05:39
챗봇 명령어 매개변수 파싱용 헬퍼 클래스
namespace SteamB23;
public static class ParseHelper
{
private static readonly char[] WhiteSpace = { ' ', '\t' };
public static List<string> ParseArguments(string rawText)
{
// 화이트스페이스 제거
if (rawText is { Length: > 0 } && rawText[0] is ' ' or '\t')
@steamb23
steamb23 / SteamB23_HangulNameEdit.js
Last active March 31, 2024 10:07
RPGMV 한글 이름 입력창 2.1v
//=============================================================================
// SteamB23_HangulNameEdit.js
//=============================================================================
/*:
* @plugindesc 한글 이름 입력창 2.1v
* @author SteamB23
*
* @param 자판 형식
* @desc 초기 자판 형식