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
# Apple Macbook Pro M1-Pro (16-inch, 2021) | |
# MacOS Monterey 12.1 | |
# nvm 0.39.1 (installed via brew) | |
# node v14.7.1 | |
# yarn 1.22.17 | |
scaffold-eth % yarn install --force | |
yarn install v1.22.17 | |
[1/4] 🔍 Resolving packages... | |
[2/4] 🚚 Fetching packages... |
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.Collections; | |
using System.Collections.Generic; | |
using Fusion; | |
using Fusion.Sockets; | |
using UnityEngine; | |
public struct TestPoseInput : INetworkInput | |
{ | |
public Vector3 position; |
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 ModifyProjectionMatrix : MonoBehaviour { | |
public Camera camera; | |
public Matrix4x4 currentMatrix; | |
public Matrix4x4 newMatrix; |
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(Script) { | |
var _run = Script.prototype.run; | |
Script.prototype.run = function(ctx, domain, fn) { | |
if (typeof domain === 'object') { | |
domain.require = function(module) { | |
return require(module); | |
}; | |
domain.context = function() { // access Context via context() | |
return ctx; | |
}; |