Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.IO; | |
using System.Text; | |
namespace MRTKSourceListCreator | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// Assetsフォルダで以下DOSコマンドを実行して出力したファイル |
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; | |
[ExecuteInEditMode] | |
public class Cat : MonoBehaviour | |
{ | |
public bool good = true; | |
[MenuItem("GameObject/3D Object/Cat", false, 10)] | |
static void CreateCat(MenuCommand menuCommand) | |
{ |
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
from PySide2 import QtWidgets | |
import socket | |
def onCreateInterface(): | |
widget = Tello() | |
return widget | |
class Tello(QtWidgets.QWidget): | |
def __init__(self, parent=None): | |
QtWidgets.QWidget.__init__(self, parent) |
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() { | |
"use strict"; | |
var PLUGIN_ID = require("./package.json").name; | |
var MENU_ID = "fp"; | |
var dgram = require('dgram'); | |
var PORT = 8889; | |
var HOST = '192.168.10.1'; | |
var client = dgram.createSocket('udp4'); |
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
from PySide2 import QtWidgets | |
import MaxPlus | |
import socket | |
class Tello(QtWidgets.QDialog): | |
def __init__(self, parent=MaxPlus.GetQMaxMainWindow()): | |
super(Tello, self).__init__(parent) | |
self.setWindowTitle("Tello Controller") | |
self.initUI() | |
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
# -*- coding: utf-8 -*- | |
import maya.cmds as cmds | |
import socket | |
import sys | |
import time | |
class Tello : | |
def __init__(self) : | |
# Create Window | |
if cmds.window("Obj_EditWindow",exists=True): |
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
import ui | |
import console | |
import requests | |
import base64 | |
isRecording = False | |
url = "192.168.0." # Input Device Portal url | |
token = "" | |
def btnAuth_tapped(sender): |
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.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
public static class ChangeIconVisibility | |
{ | |
// アイコンの表示・非表示フラグ | |
static bool visibility = false; |