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
# python main.py -p XXXXXX.unitypackage -i XXXXXX.png | |
import argparse | |
import tempfile | |
import os | |
import sys | |
from shutil import unpack_archive | |
from shutil import make_archive | |
import stat |
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; | |
public class TimeScaleSlider : MonoBehaviour | |
{ | |
[SerializeField, Range(0.0f, 2.0f)] float Time = 1.0f; | |
private void Update() | |
{ |
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 UdonSharp; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using VRC.SDK3.StringLoading; | |
using VRC.SDKBase; | |
using VRC.Udon; | |
public class strloader : UdonSharpBehaviour | |
{ |
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
abcdefg0123456 |
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 socket | |
import json | |
ip = "127.0.0.1" | |
port = 42069 | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) | |
msg = { |
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 bpy | |
import pythonosc | |
import argparse | |
from pythonosc import udp_client | |
from bpy.app.handlers import persistent | |
client = udp_client.SimpleUDPClient("127.0.0.1", 9000) | |
def send(message): | |
# print("successfully send message at" + datetime.datetime.now().strftime(" %Y-%m-%d %H:%M:%S") + ".") |
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
from asyncio.windows_events import NULL | |
from http import cookies | |
from tkinter import TRUE | |
import requests | |
import pickle | |
import argparse | |
import os | |
import json | |
import sys | |
from requests.auth import HTTPBasicAuth |
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 argparse | |
from sqlite3 import Date, Time | |
import time | |
import schedule | |
import psutil | |
from pythonosc import udp_client | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser() | |
parser.add_argument("--ip", default="127.0.0.1", |
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
//Texture2dをTexture[]に設定し、...から"Convert to PNG"で変換することができます | |
//UnityEditorでの使用を想定 | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using System.IO; | |
public class Texture2dToPNG : MonoBehaviour |