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 ExitGames.Client.Photon; | |
using Photon.Pun; | |
using Photon.Realtime; | |
using UnityEngine; | |
/// <summary> | |
/// RaiseEventのラッパー. | |
/// |
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.Threading.Tasks; | |
using PolyToolkit; | |
using UnityEngine; | |
namespace NekomimiDaimao.Poly | |
{ | |
public static class PolyTasker | |
{ | |
public static Task<PolyListAssetsResult> SearchListAssetsAsync(PolyListAssetsRequest assetsRequest) |
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.Generic; | |
using System.Text; | |
using UnityEngine; | |
using UnityEngine.UI; | |
namespace NekomimiDaimao | |
{ | |
/// https://gist.github.com/nekomimi-daimao/48938c1de1e91550a34984cdfc03b702 | |
public class XRLogger : MonoBehaviour | |
{ |
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.Threading.Tasks; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class WhoStopsUI : MonoBehaviour | |
{ | |
private void Suspect() | |
{ | |
// something heavy... | |
} |
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.Generic; | |
using UnityEngine; | |
namespace NekomimiDaimao | |
{ | |
public class PrimitiveCreator | |
{ | |
private const float DefaultScale = 0.2f; | |
private readonly PrimitiveType _type; |
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.Generic; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using MQTTnet; | |
using MQTTnet.Client.Receiving; | |
using MQTTnet.Server; |
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
fn multiple_float(a: f32, b: f32) -> f64 { | |
((a as f64) * (b as f64)) | |
} | |
#[no_mangle] | |
pub extern fn multiply_point(m: Matrix4x4, v: Vector3) -> Vector3 { | |
let x = multiple_float(m.m00, v.x) + multiple_float(m.m01, v.y) + multiple_float(m.m02, v.z) + m.m03 as f64; | |
let y = multiple_float(m.m10, v.x) + multiple_float(m.m11, v.y) + multiple_float(m.m12, v.z) + m.m13 as f64; | |
let z = multiple_float(m.m20, v.x) + multiple_float(m.m21, v.y) + multiple_float(m.m22, v.z) + m.m23 as f64; | |
let a = multiple_float(m.m30, v.x) + multiple_float(m.m31, v.y) + multiple_float(m.m32, v.z) + m.m33 as f64; |
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; | |
public class AssetBundleDisposable : IDisposable | |
{ | |
public AssetBundle AssetBundle { get; private set; } | |
private bool _disposed = false; | |
public AssetBundleDisposable(AssetBundle assetBundle) |
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; | |
namespace VRM.Extension | |
{ | |
public class VRMAutoDisposer : MonoBehaviour | |
{ | |
public VRMImporterContext Context; | |
private void OnDestroy() | |
{ |
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.Generic; | |
using System.IO; | |
using Cysharp.Threading.Tasks; | |
using UnityEngine; | |
using VRM; | |
public class HumanRanch : MonoBehaviour | |
{ | |
private void Start() |
OlderNewer