Created
March 31, 2018 13:27
-
-
Save hota1024/35b4dd86c23d34f0063c06c6bed9a75b to your computer and use it in GitHub Desktop.
自分のUnityで使う命名規則とかファイル構成とかのメモ ref: https://qiita.com/hota1024/items/3e2f42125678be992646
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
float playerSpeed; |
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
const string RoomKey = "xxx-xxx-xxx"; |
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
void SetPlayerSpeed(float value) { this.playerSpeed = value; } |
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
float PlayerSpeed { | |
get { return this.playerSpeed; } | |
} |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Utils{ | |
class Palette{ | |
static const Color primary = new Color(0f, 0.5f, 1.0f); | |
static const Color primary = new Color(0f, 0.1f, 0.5f); | |
static const Color accent = new Color(1.0f, 0f, 1.0f); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment