git commit の editor もSublime Textにしようとしたもののすんなり行かなかったのでメモ。
すんなり行かなかった理由は rbenv
を入れていたから。
subl をインストール
Ruby Envのディレクトリを~/.rbenv/
と命名していたのでここの下にbinをディレクトリを作成する。
続いて次のコマンドを入力することでSublime Text
のコマンドラインツールであるsublが入る。
git commit の editor もSublime Textにしようとしたもののすんなり行かなかったのでメモ。
すんなり行かなかった理由は rbenv
を入れていたから。
Ruby Envのディレクトリを~/.rbenv/
と命名していたのでここの下にbinをディレクトリを作成する。
続いて次のコマンドを入力することでSublime Text
のコマンドラインツールであるsublが入る。
Trailの色をスクリプトから変更できないか探していたところ、StackOverFlowに以下の様な質問が。
I am creating a Trail Renderer that is modified in script (width, life, material, etc.) I was wondering if there is a way to change the colors array in script as well.
I’ve tried getting the game objects “colors” variable but it says that does not exist even though it is in blue.
This is what I tried:
回答として
The colors array isn’t accessible from the script API, unfortunately.
とあったりするので諦めかけつつスクロールさせると…