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
| https://lemmasoft.renai.us/forums/viewtopic.php?f=68&t=27151 | |
| http://blog.mb.cloud.nifty.com/?p=1857 |
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 UnityEditor; | |
| using UnityEditor.Callbacks; | |
| using System.Collections; | |
| using UnityEditor.iOS.Xcode; | |
| using System.IO; | |
| public class ChangeIOSBuild { | |
| [PostProcessBuild] |
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
| Update from poompnw | |
| iOS Reference | |
| Icon app 1024x1024 | |
| 72 dpi, RGB, flattened, no transparency, no rounded corners | |
| Screenshot (Portrait) | |
| - 3.5 inch (iPhone 4s) : 640 x 960 pixels | |
| - 4 inch (iPhone SE) : 640 x 1136 pixels | |
| - 4.7 inch (iPhone 6, iPhone 6s, iPhone 7, iPhone 8) : 750 x 1334 pixels |
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 UnityEngine.UI; | |
| using UnityEngine.EventSystems; | |
| using System.Collections; | |
| using System.Reflection; | |
| using System; | |
| public class FadeInOut : MonoBehaviour { | |
| [Serializable] |
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
| 0-255,688-767,3584-3711,7104-7167,8192-8304 |
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; | |
| using System.Collections.Generic; | |
| [ExecuteInEditMode] | |
| public class VisibleCollider : MonoBehaviour { | |
| public bool showLine = true; | |
| public Color lineColor = Color.blue; |
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
| ALAssetRepresentation *assetRepresentation = [asset defaultRepresentation]; | |
| CGImageRef fullResImage = [assetRepresentation fullResolutionImage]; | |
| NSString *adjustment = [[assetRepresentation metadata] objectForKey:@"AdjustmentXMP"]; | |
| if (adjustment) { | |
| NSData *xmpData = [adjustment dataUsingEncoding:NSUTF8StringEncoding]; | |
| CIImage *image = [CIImage imageWithCGImage:fullResImage]; | |
| NSError *error = nil; | |
| NSArray *filterArray = [CIFilter filterArrayFromSerializedXMP:xmpData | |
| inputImageExtent:image.extent |
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
| /* | |
| Simple example for receiving | |
| http://code.google.com/p/rc-switch/ | |
| Need help? http://forum.ardumote.com | |
| */ | |
| #include <RCSwitch.h> |
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
| int minVal = -999; | |
| int threshold = 20; | |
| int calibrate = 300; | |
| int val = 0; | |
| void setup() | |
| { | |
| Serial.begin(9600); | |
| } |
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
| // Control an 8x8 LED display with 2 x 74HC595 shift registers | |
| // Using only 3 pins from the Arduino | |
| // shift register = 8 pin | |
| #define DEVICES 6 | |
| #define SHIFT_REGISTER 8 | |
| #define ALLFPIN SHIFT_REGISTER * DEVICES | |
| // while condition variable | |
| int whileVar = 0; |