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
Unhandled exception: page fault on read access to 0xffffffffffffffe0 in 64-bit code (0x00007f6ce1a57fe4). | |
Register dump: | |
rip:00007f6ce1a57fe4 rsp:0000000000319978 rbp:0000000000319a30 eflags:00010283 ( R- -- I S - - -C) | |
rax:0000000000319cb0 rbx:0000000000425050 rcx:0000000000319cb0 rdx:ffffffffff90ce30 | |
rsi:00000000006f31d0 rdi:0000000000319cb0 r8:ffffffffff90ce30 r9:0000000000000000 r10:00000000006f31d0 | |
r11:0000000000000293 r12:0000000000000000 r13:00000000006f31d0 r14:0000000000000000 r15:0000000000000000 | |
Stack dump: | |
0x0000000000319978: 00007f6ce101a998 0000000000000000 | |
0x0000000000319988: 0000000000000000 0000000000000000 | |
0x0000000000319998: 0000000000000000 0000000000000000 |
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
public static Coroutine StartTimer01(this MonoBehaviour mb, float exitTime, Action onFinished, Action<float> onUpdate) | |
{ | |
return mb.StartCoroutine(Timer01(exitTime, onFinished, onUpdate)); | |
} | |
public static IEnumerator Timer01(float exitTime, Action onFinished, Action<float> onUpdate) | |
{ | |
float journey = 0f; | |
while (journey <= exitTime) | |
{ |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ProceduralGrass : MonoBehaviour | |
{ | |
private Terrain terrainToPopulate; | |
public int grassDensity; | |
public int patchDetail; | |
[ContextMenu("Grass")] |
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
function OnNavButton(s) { | |
switch (s) { | |
case "3D": | |
console.log("Switched to 3d"); | |
break; | |
case "filter": | |
console.log("Switched to filters"); | |
break; |
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
void Start() | |
{ | |
server = new TcpServer(); | |
server.Port = port; | |
server.VerifyConnectionInterval = 1; | |
server.Open(); | |
server.OnDataAvailable += Server_OnDataAvailable; | |
server.OnConnect += Server_OnConnect; | |
} |
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 System; | |
using System.Threading; | |
namespace Threading | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
//ez indit el egy uj threadet |
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
// Some copyright should be here... | |
//modified to work with unreal 4.21 | |
using UnrealBuildTool; | |
using System.IO; | |
public class OpenCV : ModuleRules | |
{ | |
private string ThirdPartyPath | |
{ | |
get { return Path.GetFullPath(Path.Combine(ModuleDirectory, "../../../../ThirdParty/")); } |