This file contains hidden or 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
| /* MIT License | |
| Copyright (c) 2022 Alex Holkner | |
| 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: |
This file contains hidden or 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 UnityEditor; | |
| using UnityEngine; | |
| using UnityObject = UnityEngine.Object; | |
| namespace Ludiq | |
| { | |
| public static class UndoUtility | |
| { | |
| private static void RecordObject(UnityObject uo, string name) | |
| { |
This file contains hidden or 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 UnityEditor; | |
| using UnityEngine; | |
| using UnityEditor.SceneManagement; | |
| public class Sample | |
| { | |
| static void CreateStage1() | |
| { | |
| EditorSceneManager.NewScene (NewSceneSetup.EmptyScene, NewSceneMode.Single); | |
| var obj = new GameObject ("sample"); |
This file contains hidden or 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
| kicks = "D:/Sound/procedural/kicks" | |
| snares = "D:/Sound/procedural/snares" | |
| hh = "D:/Sound/procedural/hats/" | |
| ohh = "D:/Sound/procedural/ohats/" | |
| rides = "D:/Sound/procedural/rides/" | |
| crashes = "D:/Sound/procedural/crashes/" | |
| use_random_seed 401492 | |
| define :crash do |
This file contains hidden or 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 System; | |
| namespace PixelVision.Engine.Chips.Graphics.Sprites | |
| { | |
| public interface ITextureData | |
| { | |
| int width { get; } | |
| int height { get; } | |
| int GetPixel(int x, int y); | |
| void SetPixel(int x, int y, int value); |
This file contains hidden or 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
| A collection of useful C# extension methods for the Unity engine. |
This file contains hidden or 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.Collections; | |
| [RequireComponent(typeof(AudioSource))] | |
| public class SoundPOC : MonoBehaviour | |
| { | |
| FContainer container; | |
| CBox greenbox; | |
| bool started = false; |
This file contains hidden or 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
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |