Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
public class StreetLight : MonoBehaviour
{
private bool state;
private bool blink;
private float stateTime;
private float blinkTime;
private float saveTime;
using UnityEngine;
using System.Collections;
public class CameraMovement : MonoBehaviour
{
[Range(0.2f, 4f)]
public float speed = 1f;
void Update ()
{
Unity Editor [version: Unity 5.3.5f1_960ebf59018a]
Unity.exe caused an Access Violation (0xc0000005)
in module Unity.exe at 0033:157c1720.
Error occurred at 2016-06-29_110434.
D:\Program Files (x86)\Unity_5_3_5\Editor\Unity.exe, run by gebruiker.
24% memory in use.
16312 MB physical memory [12274 MB free].
18744 MB paging file [13054 MB free].
using UnityEngine;
using System.Collections;
public class Main : MonoBehaviour
{
void Start ()
{
CommandManager.registerCommand(onCommandLoadLevel, "load");
}
using UnityEngine;
using System.Collections;
public class AIMovement : MonoBehaviour
{
[SerializeField] private NavMeshAgent navMeshAgent;
public GameObject head;
public GameObject playerHead;
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
For i = 0 To colCDROMs.count-1
colCDROMs.item(i).eject
Next
oWMP.close
int main ()
{
for( int a = 10; a < 20; a = a + 1 )
{
}
return 0;
}
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Threading;
using System.Collections;
using System.Diagnostics;
public class Main : MonoBehaviour
{
public System.Object comlock;
public Object ditIsEenLock = new Object();
public void threadA()
{
lock(ditIsEenLock)
{
while(true)
{
//endless loop
}
using UnityEngine;
using System;
using System.Threading;
using System.Collections;
public class Test : MonoBehaviour
{
private Queue queueCalc;
private Queue queueMain;