Touch the proxy configuration file if needed
sudo vi /etc/apt/apt.conf.d/80proxy
Add the following configuration:
module RequireVXConfig | |
# | |
# -Configure options here- | |
# | |
# What they do: | |
# | |
# :make_default_load_paths | |
# Initializes the $LOAD_PATH variable to it's default values (not the | |
# paths that are used to require C files becauset hey will not work). | |
# If this is done the Ruby standard library can be copy/pasted |
#Use this utility to access CSDN blog. | |
#Author: jiangong li | |
#Email: [email protected] | |
import base64 | |
from http import cookiejar | |
import urllib.request, urllib.parse, urllib.error | |
#url for accessing | |
csdnLoginUrl = r"http://passport.csdn.net/ajax/accounthandler.ashx?" |
// https://frarees.github.io/default-gist-license | |
using System; | |
using UnityEngine; | |
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)] | |
public class MinMaxSliderAttribute : PropertyAttribute | |
{ | |
public float Min { get; set; } | |
public float Max { get; set; } |
Shader "Custom/yar" { | |
Properties { | |
_ColorLow ("Color Low", COLOR) = (1,1,1,1) | |
_ColorHigh ("Color High", COLOR) = (1,1,1,1) | |
_yPosLow ("Y Pos Low", Float) = 0 | |
_yPosHigh ("Y Pos High", Float) = 10 | |
_GradientStrength ("Graident Strength", Float) = 1 | |
_EmissiveStrengh ("Emissive Strengh ", Float) = 1 | |
_ColorX ("Color X", COLOR) = (1,1,1,1) | |
_ColorY ("Color Y", COLOR) = (1,1,1,1) |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
[ExecuteInEditMode] | |
public class VisibleCollider : MonoBehaviour { | |
public bool showLine = true; | |
public Color lineColor = Color.blue; |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
/// Creates a wave form based on an audiosource | |
/// Modified version of http://forum.unity3d.com/threads/making-sense-of-spectrum-data.90262 | |
/// Make sure to plug in the _topLine and _bottomLine line renderers | |
public class WaveGenerator : MonoBehaviour | |
{ |
public class MyBehavior : MonoBehaviour { | |
// This will store the string value | |
[StringInList("Cat", "Dog")] public string Animal; | |
// This will store the index of the array value | |
[StringInList("John", "Jack", "Jim")] public int PersonID; | |
// Showing a list of loaded scenes | |
[StringInList(typeof(PropertyDrawersHelper), "AllSceneNames")] public string SceneName; | |
} |
// Developed by Tom Kail at Inkle | |
// Released under the MIT Licence as held at https://opensource.org/licenses/MIT | |
// Must be placed within a folder named "Editor" | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEditor; | |
using UnityEngine; |