This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
public class SpecificInstanceOfGameExample : MonoBehaviour | |
{ | |
#region DLL Imports | |
private const string UnityWindowClassName = "UnityWndClass"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# Unity folders and files | |
### | |
[Aa]ssets/AssetStoreTools* | |
[Bb]uild/ | |
[Ll]ibrary/ | |
[Ll]ocal[Cc]ache/ | |
[Oo]bj/ | |
[Tt]emp/ | |
[Uu]nityGenerated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html> | |
<html lang='es'> | |
<head> | |
<title>Hola mundo</title> | |
<b:skin> | |
<![CDATA[ | |
]]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "STC15F2K60S2.H" | |
#include <intrins.h> | |
#define uchar unsigned char | |
#define uint unsigned int | |
#define ADC_POWER 0x80 // adc总开关 | |
#define ADC_FLAG 0x10 | |
#define ADC_START 0x08 | |
#define ADC_SPEED_90 0x60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Add this component to your Cinemachine Virtual Camera to have it shake when calling its ShakeCamera methods. | |
/// </summary> | |
public class CinemachineCameraShaker : MonoBehaviour | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using Unity.Collections; | |
using Unity.Audio; | |
using Unity.Mathematics; | |
using Unity.Burst; | |
using System.Collections; | |
/* | |
For allocations inside AudioKernels, use Allocator.AudioKernel | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*//Arduino_3DCube_Control | |
//Command must be at 38400 baud | |
0xAD //Abrir menu para puerto de Serie para Arduino | |
0xf2 //Abrir Comando para introducir animacion | |
0xED //Salir completamente del modo Arduino | |
//serial data show ARDUINO,display command data 65,Each time data 64 COUNT+0xF2 | |
*/ | |
#include <stdio.h> | |
#define LAYER_COUNT 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To use: | |
# 1. extract the NCAs from the NSP (I used NSCB) | |
# 2. extract the contents of 5977df9d4848858cbde157c6723dd1de.nca | |
# 3. inside 1 [romfs]\rom\Stardust_JP\Textures you'll find texture_pack.cpio. Extract it (I uzed 7zip) | |
# 4. run this python 2.7 script in the directory with all the .rpt files. It'll create a out folder containing all the PNGs | |
import struct,glob,os,zlib | |
from PIL import Image | |
OUTDIR='out' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Script for first person in Silent Hill in BizHawk | |
-- | |
-- Submit improvments at https://gist.github.com/samfromcadott | |
-- | |
-- Copyright 2021 Sam Jackson | |
----------------------------- | |
-- Memory addresses | |
----------------------------- |
OlderNewer