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 Holoville.HOTween; | |
| namespace FS.Handlers | |
| { | |
| public class FSScrollController : MonoBehaviour { | |
| public float contentOverflowY = 0f; | |
| public float contentHeight = 0f; |
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
| // Credit to damien_oconnell from http://forum.unity3d.com/threads/39513-Click-drag-camera-movement | |
| // for using the mouse displacement for calculating the amount of camera movement and panning code. | |
| using UnityEngine; | |
| using System.Collections; | |
| public class MoveCamera : MonoBehaviour | |
| { | |
| // | |
| // VARIABLES |
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
| { | |
| "name":"PukingPony", | |
| "version":"1.0", | |
| "description":"Color, color, color is everything! Now supports Xamarin & VS Mac 6.x", | |
| "originator":"Panov Alexey <prog.uspn@gmail.com>", | |
| "baseScheme":"Visual Studio", | |
| "colors":[ | |
| {"name": "Usages(Rectangle)", "color":"#4E81A0", "secondcolor":"#66ABD4" }, | |
| {"name": "Changing usages(Rectangle)", "color":"#DDB738", "secondcolor":"#ECC94B" }, | |
| {"name": "Current Line Marker", "color":"#000000", "secondcolor":"#000000" }, |
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
| precision lowp float; | |
| uniform sampler2D channel0; | |
| uniform float time; | |
| varying vec2 vTextureCoord; | |
| // rendering params | |
| const float sphsize = 0.8; // planet size | |
| const float dist = 0.08; // distance for glow and distortion |
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
| // C# example | |
| using UnityEditor; | |
| using System.IO; | |
| using System.Collections; | |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| class PerformBuild | |
| { | |
| static string[] GetBuildScenes() |
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
| #!/bin/sh | |
| # | |
| # jenkins-slave: Launch a Jenkins BuildSlave instance on this node | |
| # | |
| # chkconfig: - 99 01 | |
| # description: Enable this node to fulfill build jobs | |
| # | |
| JENKINS_WORKDIR="/var/jenkins" | |
| JENKINS_USER="jenkins" |
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
| // C# example | |
| using UnityEditor; | |
| using System.IO; | |
| using System.Collections; | |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| class PerformBuild | |
| { | |
| static string[] GetBuildScenes() |
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.Security.Cryptography; | |
| using System; | |
| using System.Text; | |
| public class StackMob : MonoBehaviour | |
| { | |
| public const string acceptHeader = "application/vnd.stackmob+json; version=0"; // 0 = development, 1 = production | |
| public const string apiKey = "e78a2646-d479-47b1-9ae5-65732c5eabdc"; // nixApp |
NewerOlder