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
<script type="text/javascript"src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script type="text/javascript">$(function(){$(".unitygames").each(function(i){var t=$(this);t.html('<iframe width="100%" height="100%" src="'+t.attr("src")+'" frameborder="0"></iframe>')})});</script> |
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
<script type="text/javascript"src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script type="text/javascript">$(function(){$(".unitygames").each(function(i){var t=$(this);t.html('<iframe width="100%" height="100%" src="'+t.attr("src")+'" frameborder="0"></iframe>')})});</script> |
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; | |
public class Test : MonoBehaviour | |
{ | |
void Awake () | |
{ | |
gameObject.active = false; | |
} |
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 RecoderManager : MonoBehaviour | |
{ | |
public Texture2D playButton, pauseButton, stopButton, recodeBotton, recodingButton; | |
public GameObject play, pause, stop, recode, recoding, meta; | |
private const string RECODE_START = "RecodeStart", RECODE_STOP = "RecodeStop", PLAY = "Play", PAUSE = "Pause", STOP = "Stop"; | |
private Ray r; |
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; | |
public class Script : MonoBehaviour | |
{ | |
public int w = 100; | |
private Texture2D tex; | |
void Update () | |
{ |
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
IEnumerator Start () | |
{ | |
particleSystem.Play (); | |
yield return new WaitForSeconds(3); | |
particleSystem.Stop (); | |
yield return new WaitForSeconds(3); | |
particleSystem.Play (); | |
yield return new WaitForSeconds(3); | |
particleSystem.Pause (); | |
yield return new WaitForSeconds(3); |
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
IEnumerator Start () | |
{ | |
particleSystem.Play (); | |
yield return new WaitForSeconds(3); | |
particleSystem.Stop (); | |
yield return new WaitForSeconds(3); | |
particleSystem.Play (); | |
//yield return new WaitForSeconds(3); | |
//particleSystem.Pause (); | |
//yield return new WaitForSeconds(3); |
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 UnityEditor; | |
using System.Collections; | |
[InitializeOnLoad] | |
public class UpdateCheck : MonoBehaviour | |
{ | |
static UpdateCheck () | |
{ | |
if (EditorApplication.timeSinceStartup < 10) |
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
IEnumerator _CheckStart () | |
{ | |
WWW www = new WWW ("URL"); | |
yield return www; | |
Debug.Log (www.text); | |
} |
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
private static WWW www; | |
static UpdateCheck () | |
{ | |
www = new WWW ("URL"); | |
EditorApplication.update += _Update; | |
} | |
private static void _Update () | |
{ |
OlderNewer