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; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEditor.AssetImporters; | |
using UnityEngine; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using UnityEngine.Rendering; |
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
{ | |
"header": { | |
"attributes": { | |
"POSITION": { | |
"type": "float32", | |
"count": 3 | |
}, | |
"TEXCOORD0": { | |
"type": "float32", | |
"count": 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
using System.Numerics; | |
using System; | |
using System.Linq; | |
using System.IO; | |
using System.Text; | |
using System.Collections; | |
using System.Collections.Generic; | |
/// <summary> | |
/// rasterized Grid coordinate |
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 math import dist | |
from typing import List | |
class Character: | |
id: int | |
x: int | |
y: int | |
@property |
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; | |
using System.Collections; | |
using System.Collections.Generic; | |
using JetBrains.Annotations; | |
using UnityEngine; | |
using UnityEngine.InputSystem; | |
public class Player : MonoBehaviour | |
{ | |
[SerializeField] |
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
{ | |
"id": 3, | |
"type": "Router", | |
"ieeeAddr": "0x00124b001f248627", | |
"nwkAddr": 48157, | |
"manufId": 0, | |
"manufName": "GLEDOPTO", | |
"powerSource": "Mains (single phase)", | |
"modelId": "GL-S-003Z", | |
"epList": [ |
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
Zigbee2MQTT:info 2021-01-11 10:53:21: Device '0x00124b001f248627' joined | |
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b001f248627","ieee_address":"0x00124b001f248627"},"type":"device_joined"}' | |
Zigbee2MQTT:info 2021-01-11 10:53:21: Starting interview of '0x00124b001f248627' | |
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b001f248627","ieee_address":"0x00124b001f248627","status":"started"},"type":"device_interview"}' | |
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x00124b001f248627"},"type":"device_connected"}' | |
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0x00124b001f248627"},"type":"pairing"}' | |
Zigbee2MQTT:debug 2021-01-11 10:53:22: Device '0x00124b001f248627' announced |