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
#pragma once | |
@class UnityView; | |
@interface UnityViewControllerBase : UIViewController | |
{ | |
} | |
- (BOOL)shouldAutorotate; | |
- (BOOL)prefersStatusBarHidden; |
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
// | |
// UnityNativeInterface.m | |
// Unity-iPhone | |
// | |
// Created by Sam Izzo on 30/05/14. | |
// | |
// | |
#import "UnityInterface.h" | |
#import "UnityNativeInterface.h" |
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
#!/bin/bash | |
# This script is for converting sound files into .caf (for sfx) | |
for i in *.wav; do | |
afconvert -f caff -d LEI16@22050 -c 1 "$i" | |
done | |
# create a new folder then move newly exported into it | |
mkdir caf |
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
var inputFolder = Folder.selectDialog ("Select a folder to process"); | |
var fileList = inputFolder.getFiles("*.png"); | |
for(var i=0; i<fileList.length; i++) { | |
app.load(fileList[i]); | |
backFile = app.activeDocument; | |
backFile.layers[0].translate(10,-3); | |
backFile.close(SaveOptions.SAVECHANGES); | |
} |
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
# Export .xcarchive file into .ipa and properly sign it with implied codesign identity | |
# Full credits to http://www.thecave.com/2014/09/16/using-xcodebuild-to-export-a-ipa-from-an-archive/ | |
# Set the parameters here | |
archiveFileName="ZombieHero" | |
exportIPAFileName="ZombieHero" | |
provisioningProfileName="Journalists inhouse" | |
# Export into .ipa file | |
echo "-- Exporting into .ipa --" |
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
xcode-select -s /Applications/Xcode.app/Contents/Developer |
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
unbind C-b | |
set -g prefix C-'\' | |
bind C-'\' send-prefix |
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
// Prepare by adding to the top window. | |
if(!self.superview){ | |
NSEnumerator *frontToBackWindows = [[[UIApplication sharedApplication] windows] reverseObjectEnumerator]; | |
for (UIWindow *window in frontToBackWindows) { | |
if (window.windowLevel == UIWindowLevelNormal) { | |
[window addSubview:self]; | |
break; | |
} |
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
... | |
UIView* contentView = [[UIView alloc] init]; | |
contentView.translatesAutoresizingMaskIntoConstraints = NO; | |
contentView.backgroundColor = [UIColor grayColor]; | |
contentView.layer.cornerRadius = 12.0; | |
UILabel* statusLabel = [[UILabel alloc] init]; | |
statusLabel.translatesAutoresizingMaskIntoConstraints = NO; | |
statusLabel.backgroundColor = [UIColor clearColor]; | |
statusLabel.textColor = [UIColor whiteColor]; |
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
-- Model Bone Information -- | |
-Name: RootNode | |
Index: 0 | |
-Name: BELL412 | |
Index: 1 | |
-Name: group | |
Index: 2 | |
-Name: BELL412_Pop1 | |
Index: 3 | |
-Name: BELL412_Pop1_ncl1_1 |
OlderNewer