duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
// Copyright (c) 2012 Calvin Rien | |
// http://the.darktable.com | |
// | |
// This software is provided 'as-is', without any express or implied warranty. In | |
// no event will the authors be held liable for any damages arising from the use | |
// of this software. | |
// | |
// Permission is granted to anyone to use this software for any purpose, | |
// including commercial applications, and to alter it and redistribute it freely, | |
// subject to the following restrictions: |
using System; | |
using UnityEngine; | |
using System.Collections; | |
public class AssetBundleSample : MonoBehaviour { | |
public GUIText guitext; | |
// Use this for initialization | |
void Start () { |
bool CheckForLongPress() { | |
if (Input.touches[0].phase == TouchPhase.Began) { // If the user puts her finger on screen... | |
_timePressed = Time.time - _timeLastPress; | |
} | |
if (Input.touches[0].phase == TouchPhase.Ended) { // If the user raises her finger from screen | |
_timeLastPress = Time.time; | |
if (_timePressed > WaitingSeconds/2f) { // Is the time pressed greater than our time delay threshold? | |
return true; | |
} |
using UnityEngine; | |
using UnityEditor; | |
public class AutoSnap : EditorWindow | |
{ | |
private Vector3 prevPosition; | |
private bool doSnap = true; | |
private float snapValue = 1; | |
[MenuItem( "Edit/Auto Snap %_l" )] |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |