This file contains hidden or 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.Generic; | |
using System.Collections; | |
using UnityEngine; | |
using System; | |
public static class EaserManager | |
{ | |
public static void Update(params Easer[] p) | |
{ | |
for (var i = 0; i < p.Length; i++) |
This file contains hidden or 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
//Child - actual bubble | |
using UnityEngine; | |
public class Bubble : MonoBehaviour | |
{ | |
public BubbleThingy parentThingy; | |
public object Data; |
This file contains hidden or 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
//why? because of databinding & sometimes this becomes handy | |
using UnityEngine; | |
public class DataBag : MonoBehaviour { | |
public dynamic Data; | |
} |
This file contains hidden or 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; | |
using UnityEngine.UI; | |
public class WebImgLoader : MonoBehaviour | |
{ | |
public string url; | |
private string _prev; |
This file contains hidden or 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 noble = require('noble'); | |
var osc = require('osc-min'); | |
var id = process.env["NOBLE_HCI_DEVICE_ID"] || 0; | |
var udp = require('dgram').createSocket('udp4'); | |
var serviceUUIDs = ["000049520000bbbb0123456789abcdef"]; // default: [] => all | |
var host = 'localhost'; | |
noble.on('stateChange', function (state) { | |
if (state === 'poweredOn') { | |
activity = Date.now(); |
This file contains hidden or 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
import * as THREE from "three"; | |
import * as updator from "../../src/updatable.js"; | |
const WIDTH = 960; | |
const HEIGHT = 720; | |
function init() { | |
const renderer = new THREE.WebGLRenderer({ | |
antialias: true |
NewerOlder