Created
August 5, 2020 09:12
-
-
Save kunofellasleep/400f1603f3dcbc1e5d9fb4583a13f7c0 to your computer and use it in GitHub Desktop.
IntervalPulse.js - SparkARStudio
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
const Diagnostics = require('Diagnostics'); | |
const Scene = require('Scene'); | |
const Patches = require('Patches'); | |
const Time = require('Time'); | |
const R = require('Reactive'); | |
let duration = 7800; | |
Time.setInterval((function hoge() { | |
Patches.inputs.setPulse('IntervalPulse',R.once()); | |
return hoge; | |
}()), duration); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment