gooブログはじめました!

写真付きで日記や趣味を書くならgooブログ

日記

2023-11-07 13:32:48 | 日記
久しぶりに歌ったら高い声が出ない
グッバイ宣言も歌えたのに
ラルクの裏声すら出ない
年のせいかコロナのせいか

Unity備忘録下書き

2023-11-06 19:18:20 | 日記
# Unity備忘録
Gameの解像度を変更。Game画面の上に
2d/3d変更。新Project作成時の2d/3dの選択は後で変えられる。
this
階層
return/breakを間違えた // break continue : if(){continue/break}はError.繰り返し文じゃないと駄目。return使うと関数を終了。
Errorについて ぬるり
諸注意
Space.worldこれがないと傾きによって動きが変わる Localとか親のObjectとか?
GameObject.Find("/aaa/bbb/ccc"); // 絶対パス Rootからの
Find返すのは一つ
Findは重いので非推奨
--
GetComponent<script()>.str // scriptの変数を取得
sound鳴らしてすぐGameObjectをDestroyすると鳴らない
PlayOneShotとPlayの違い
PlayOneShotの引数は~しかない


How to github

2023-11-04 16:16:24 | 日記
# how to github

git config --global user.name <username>
git config --global user.email <emailaddress>
# + token or SSH. go web

cd c:/documents/git
mkdir rep # Local repository
cd rep
git init

touch hello.txt
git add hello.txt
git commit -m 'first commit'

git remote add < remote ripository name > < remote ripository url >
git push < remote repository name> < local repository name>

# cf. other commands
git push -u < remote repository name > < local branch name > # omit
git reset < file name > # reset file added
git rm < file name > # delete file

# errors

今日の昼飯

2023-10-28 19:04:37 | 日記

特上寿司