Skip to content

Instantly share code, notes, and snippets.

@Rosthouse
Rosthouse / WaitForTaskCompletion.cs
Created May 16, 2019 09:20
WaitForTaskCompletion
using System.Threading.Tasks;
using UnityEngine;
public class WaitForTaskCompletion : CustomYieldInstruction
{
private Task task;
public override bool keepWaiting
{
get
@Rosthouse
Rosthouse / ProgressiveMapper.cs
Last active May 16, 2019 09:17
ZED Progressial Mapper
using System;
using System.Collections;
using System.Threading.Tasks;
using sl;
using UnityEngine;
public class ProgressiveMapper
{
private ZEDCamera camera;
private float resolution;