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 UnityEngine; | |
using UnityEngine.Animations; | |
using UnityEngine.Playables; | |
public struct IKTarget | |
{ | |
public Vector3 pos; | |
public Quaternion rot; | |
public Vector3 hint; |
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 UnityEngine; | |
using UnityEditor; | |
#if UNITY_EDITOR | |
[RequireComponent(typeof(Camera))] | |
public class OrbitCameraController : MonoBehaviour | |
{ | |
public bool _alignWithViewAtStart = true; | |
public bool _alignSceneViewAtQuit = false; | |
public bool _enableBallControl = false; |
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
/* | |
fSpyLoader for Unity 2020.3+ | |
(C)2022 nishiura.hiroshi | |
Required Unity package: | |
* com.unity.nuget.newtonsoft-json | |
*/ | |
using UnityEditor; | |
using UnityEngine; | |
using System.IO; // File |
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
{"components":[{"id":"_stickplusscreen","createTime":1645306295733,"name":"screen","x":0,"y":0,"width":160,"height":284,"backgroundColor":"#111111","backgroundImage":"","type":"screen"},{"id":"p6UFryulZi@0EHgA","createTime":1645306632193,"isCoreTwo":false,"isPaper":false,"name":"label0","x":125,"y":11,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_DejaVu18","rotation":90,"type":"label","layer":5},{"id":"xO-cqsNqT^`NCqqb","createTime":1645308902066,"isCoreTwo":false,"isPaper":false,"name":"label1","x":25,"y":11,"color":"#FFFFFF","text":"wait","font":"lcd.FONT_DejaVu18","rotation":90,"type":"label","layer":6},{"id":"aj*7`WKci@QfUwjk","createTime":1645308906922,"isCoreTwo":false,"isPaper":false,"name":"label2","x":83,"y":45,"color":"#FFFFFF","text":"----","font":"lcd.FONT_DejaVu40","rotation":90,"type":"label","layer":7}],"type":"stick-C-plus","versions":"Beta","units":[],"hats":[],"blockly":"<variables><variable id=\"C||c2s:rrQX@iF3HJUN?\">initData</variable><variable id=\"09vEmh#PuD8,PoTX^!j,\">i</variable>< |
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
# require packages | |
# apt install g++-aarch64-linux-gnu | |
# apt install g++-arm-linux-gnueabihf | |
# apt install qemu-user-static | |
echo BUILD arm64v8/ubuntu:multiarch | |
docker run -dit --name c_arm64v8 arm64v8/ubuntu:18.04 | |
docker cp /usr/bin/qemu-aarch64-static c_arm64v8:/usr/bin/ | |
docker cp /usr/bin/qemu-arm-static c_arm64v8:/usr/bin/ | |
docker cp /usr/arm-linux-gnueabihf/lib c_arm64v8:/lib/arm-linux-gnueabihf |
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
-------------------------------------------------- | |
MPU-6050 使用 3軸ジャイロスコープ・3軸加速度センサー モジュール | |
入力電圧 3-5V | |
インターフェイス: I2C (2 wire, IIC) | |
ジャイロ測定範囲:±250 500 1000 2000 °/s | |
加速度測定範囲:±2±4±8±16g | |
モジュールピン間隔: 2.54mm (標準インチ・ミル系) | |
MPU-6050を使用した、3軸ジャイロ+3軸加速度センサーのブレイクアウト・モジュール。 3端子レギュレータを内蔵し\ |