僕の知っている限りのhello worldプログラムです。
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
public class Bullet : MonoBehaviour{ | |
[SerializeField] | |
float angle; | |
[SerializeField] | |
float speed; | |
} |
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
public class Camera : MonoBehaviour{ | |
void Start(){ | |
GetComponent<UnityEngine.Camera>().backgroundColor = Color.red; | |
} | |
} |
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
ssh アカウント名@初期ドメイン(xxx.sakura.ne.jp) |
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); | |
} |
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 Boxol = { | |
Marked (data) { | |
let result = '' | |
let maxLength = 0 | |
data.forEach(line => { | |
maxLength = Math.max(maxLength, line.length) | |
console.log(maxLength) | |
}) |
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
# include <Siv3D.hpp> // OpenSiv3D v0.2.8 | |
const uint Width = 4; | |
const uint Height = 4; | |
const uint Area = Width * Height; | |
const uint TileSize = 64; | |
size_t GetIndex(int x, int y) |
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
String.prototype.f19t = function () { return this.charAt(0).toLocaleLowerCase() + this.slice(1, this.length - 1).length + this.charAt(this.length - 1).toLocaleLowerCase() } | |
console.log('Internationalization'.f19t()) // i18n |
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
let icons = ['3d_rotation','accessibility','accessibility_new','accessible','accessible_forward','account_balance','account_balance_wallet','account_box','account_circle','add_shopping_cart','alarm','alarm_add','alarm_off','alarm_on','all_inbox','all_out','android','announcement','arrow_right_alt','aspect_ratio','assessment','assignment','assignment_ind','assignment_late','assignment_return','assignment_returned','assignment_turned_in','autorenew','backup','book','bookmark','bookmark_border','bookmarks','bug_report','build','cached','calendar_today','calendar_view_day','camera_enhance','card_giftcard','card_membership','card_travel','change_history','check_circle','check_circle_outline','chrome_reader_mode','class','code','commute','compare_arrows','contact_support','copyright','credit_card','dashboard','date_range','delete','delete_forever','delete_outline','description','dns','done','done_all','done_outline','donut_large','donut_small','drag_indicator','eject','euro_symbol','event','event_seat','exit_to_ap |
OlderNewer