C# at Google Style Guide を日本語訳したものです。一部こなれていない箇所もあるので、お気づきの点があれば気軽にコメントでご指摘頂ければ幸いです。
このスタイルガイドは Google 社内で開発された C# コード用であり、Google の C# コードのデフォルトのスタイルです。 Google C++ スタイルや Google Java スタイルなど、Google の他の言語に準拠した文体の選択を行います。
C# at Google Style Guide を日本語訳したものです。一部こなれていない箇所もあるので、お気づきの点があれば気軽にコメントでご指摘頂ければ幸いです。
このスタイルガイドは Google 社内で開発された C# コード用であり、Google の C# コードのデフォルトのスタイルです。 Google C++ スタイルや Google Java スタイルなど、Google の他の言語に準拠した文体の選択を行います。
| %%[ | |
| VAR @ts, @tsDef, @ts_extkey, @ts_email, @ts_sub, @ts_statusCode, @ts_statusMsg, @errorCode | |
| SET @ts = CreateObject("TriggeredSend") | |
| SET @tsDef = CreateObject("TriggeredSendDefinition") | |
| SET @ts_extkey = "ExternalKey" /* use the external key of the interaction for example SET @ts_extkey = "49078" */ | |
| SET @ts_email = "[email protected]" /* provide recipient's email address */ | |
| SetObjectProperty(@tsDef, "CustomerKey", @ts_extkey) | |
| SetObjectProperty(@ts, "TriggeredSendDefinition", @tsDef) | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor.ShaderGraph; | |
| using System.Reflection; | |
| [Title("Distance", "Hexagon")] | |
| public class HexagonNode : CodeFunctionNode | |
| { | |
| public HexagonNode() |
| // 〜〜省略 | |
| GameSceneSingleton.Instance.setVideoSdkCallbackListener(this); | |
| // 〜〜省略 | |
| // SaveData.cs | |
| // http://kan-kikuchi.hatenablog.com/entry/Json_SaveData | |
| // | |
| // Created by kan.kikuchi on 2016.11.21. | |
| using UnityEngine; | |
| using System; | |
| using System.IO; | |
| using System.Collections.Generic; |
| using UnityEngine; | |
| using System.Collections; | |
| public class LogTest : MonoBehaviour | |
| { | |
| // ゲーム開始前に呼び出す | |
| [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] | |
| static void Init () { | |
| Debug.logger.logEnabled = false; // ←ログを止める | |
| } |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Collections; | |
| public class BatchBuild { | |
| // Android ビルド | |
| [MenuItem("Build/Android")] |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Collections.Generic; | |
| /// <summary> | |
| /// 選択している複数のObjectのパスをLogに表示させます。 | |
| /// SceneとProject両方に対応しています。 | |
| /// </summary> | |
| public class PathMaker | |
| { |
| Shader "MBL/NextPage" | |
| { | |
| Properties | |
| { | |
| _MainTex("Texture", 2D) = "white" {} | |
| _PageTex("PageTexture", 2D) = "white" {} | |
| _AlphaMask("AlphaMask", Range(0, 1)) = 0.1 | |
| _Flip("Flip",Range(-1, 1)) = 0 | |
| } | |
| SubShader |