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
// This code is licensed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication. | |
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0/ | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using CesiumForUnity; | |
using UnityEngine; | |
public class TilesetForPolySpatial : MonoBehaviour |
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
// This code is licensed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication. | |
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0/ | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using UnityEditor.iOS.Xcode; | |
using System.IO; | |
using UnityEditor.PackageManager; | |
using UnityEngine; |
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 Bolt; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEngine; | |
using YamlDotNet.RepresentationModel; | |
public class FlowTextLoader : MonoBehaviour | |
{ |
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 UnityEngine; | |
#if WINDOWS_UWP | |
using System; | |
using Windows.System; | |
#endif | |
public static class BrowserLauncher | |
{ | |
public static void Launch(string url, bool useHoloBrowser = false) |
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.Generic; | |
using UnityEditor; | |
using UnityEditor.Build; | |
using UnityEngine; | |
namespace ProjectSettingsUtilities | |
{ | |
[InitializeOnLoad] | |
public class PublishingSettingsUpdater : IActiveBuildTargetChanged | |
{ |
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
v=0 | |
o=- 5512830869395964291 2 IN IP4 127.0.0.1 | |
s=- | |
t=0 0 | |
a=group:BUNDLE 0 1 | |
a=msid-semantic: WMS | |
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 123 125 122 124 | |
c=IN IP4 0.0.0.0 | |
a=rtcp:9 IN IP4 0.0.0.0 | |
a=ice-ufrag:fgga |
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 UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
public class BoundingBoxSample : MonoBehaviour | |
{ | |
public Vector3 BoundingBoxCenter; | |
public Vector3 BoundingBoxSize; |
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
# バージョン | |
- Ubuntu 16.04 | |
# パッケージのアップデート | |
``` | |
sudo apt update | |
sudo apt upgrade | |
``` |
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
class GreeterImpl : Greeter.GreeterBase | |
{ | |
public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context) | |
{ | |
return Task.FromResult(new HelloReply { Message = "Hello " + request.Name }); | |
} | |
} |
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
Channel channel = new Channel("127.0.0.1:10051", ChannelCredentials.Insecure); | |
var client = new Greeter.GreeterClient(channel); | |
String user = "you"; | |
var reply = client.SayHello(new HelloRequest { Name = user }); | |
Console.WriteLine("Greeting: " + reply.Message); |
NewerOlder