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
.ui-header .ui-footer .ui-btn-right { | |
background:#c24e00; | |
} | |
.articleContent > table > tbody > tr > td > font > br { | |
display: none; | |
} | |
.articleContent > table > tbody > tr > td > font > br + div { | |
display: none; | |
} | |
.articleContent * { |
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
using UnityEngine; | |
public class Marquee : MonoBehaviour | |
{ | |
public string message = "Where we're going, we don't need roads."; | |
public float scrollSpeed = 50; | |
Rect messageRect; | |
// Select your font in the Unity Inspector |
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
{ | |
"status": "success", | |
"search_nag": {}, | |
"code": 0, | |
"bookmark": "b28xMDB8MDQ0NWZiOTBjNzNiODlkOTQ1ZTk3ZjY0ZTBhYjU0YjM0ZDYyNDg3NjU3ZWQ3OGJmZjI4ZTliZGRmODBlMzJlNQ==", | |
"debug_data": { | |
"query_data": {} | |
}, | |
"message": "ok", | |
"data": [ |
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
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.UI; | |
public class ColorFader : MonoBehaviour | |
{ | |
public float delay = 2; | |
void Start () { | |
StartCoroutine(Fade(delay)); |
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 stopwatch = new System.Diagnostics.Stopwatch(); | |
stopwatch.Start(); | |
// your function here.. | |
stopwatch.Stop(); | |
//Debug.Log("Timer: " + stopwatch.Elapsed); | |
Debug.Log("Timer: " + stopwatch.ElapsedMilliseconds); | |
stopwatch.Reset(); |
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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class Game : MonoBehaviour | |
{ | |
public static Game instance; | |
public Player player; | |
public int score = 0; |
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
using UnityEngine; | |
using System.Collections; | |
using System.Text; | |
/** Add this script to an object in the first scene of your game. | |
* It doesn't do anything for non-webplayer builds. For webplayer | |
* builds, it checks the domain to make sure it contains at least | |
* one of the strings, or it will redirect the page to the proper | |
* URL for the game. | |
*/ |
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
using UnityEngine; | |
using System.Collections; | |
using System.Text; | |
/** | |
* WebLocationChecker by @andyman404 | |
* Licensed under Creative Commons Zero (do with it as you want, no credit needed) | |
* https://creativecommons.org/publicdomain/zero/1.0/ | |
* | |
* This script site-locks your Unity Webplayer/WebGL build. |
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
# =============== # | |
# Unity generated # | |
# =============== # | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild | |
/[Bb]uilds/ | |
/[Ll]ibrary/ | |
sysinfo.txt | |
*.stackdump |
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
using TMPro; | |
using UnityEngine; | |
using UnityEngine.UI; | |
namespace Lean.Localization | |
{ | |
// This component will update a Text component with localized text, or use a fallback if none is found | |
[ExecuteInEditMode] | |
[DisallowMultipleComponent] | |
[RequireComponent(typeof(TextMeshProUGUI))] |
OlderNewer