■Grabbable.csのランダム色変化について
※以前の記事の補足です。
オブジェクトにGrabbable.csを設定すると、シーンの開始と同時にランダムに色(正確にはシェーダー)が割り振られます。これはオブジェクト本来の色を使用したい場合、不要な機能です。
今回はGrabbable.csの該当部分をコメントアウトすることで、この機能を無効化します。
Grabbable.csを開きます。
30~32行目に色変化に関するコメントが記述してあります。(デモ目的でカラーチェンジ機能が実装されています。不要な場合は「color-changing support」と書いてある部分を削除することで簡単に取り除けます)と。
探してみると、85行目、98行目と、
117行目に、「color-changing support」という記述があります。ここらへんを削除すればOKです。
具体的には、86行目、99行目、126行目に、SetColor(m_color);という関数があるので、この関数の前に//を付けてコメントアウトしてしまえばOKです。
すると、色変化がなくなり、オブジェクト本来の色でシーンを実行することができます。もちろんOculusTouchで掴む機能には問題なしです。
Get a job <a href="http://www.dubaitripmaker.com/fluoxetine-ocd-forum/">fluoxetine lawsuits</a> Singapore Airlines said it will honour hundreds of business-class tickets sold wrongly at economy prices
Get a job <a href="http://www.dubaitripmaker.com/fluoxetine-ocd-forum/">fluoxetine lawsuits</a> Singapore Airlines said it will honour hundreds of business-class tickets sold wrongly at economy prices
good material thanks <a href="http://www.instalacioneshidraulicas.com/generic-aldactone/">aldactone 50mg para acne</a> Maria Sharapova has honed her athletic wear as fashion wear aesthetic long before it became a huge trend on the runway
good material thanks <a href="http://www.instalacioneshidraulicas.com/generic-aldactone/">aldactone 50mg para acne</a> Maria Sharapova has honed her athletic wear as fashion wear aesthetic long before it became a huge trend on the runway
I'm a partner in <a href="http://brain-stream.org/antabuse-pill-identifier/">buy antabuse over counter uk</a> NOTES: Devils C Dainius Zubrus sat out his second straight game with a leg injury
I'm a partner in <a href="http://brain-stream.org/antabuse-pill-identifier/">buy antabuse over counter uk</a> NOTES: Devils C Dainius Zubrus sat out his second straight game with a leg injury
Gloomy tales <a href="http://www.plaw.ir/purchase-sinemet">carb levodopa</a> Citing data points from around the world, the report makes the case that women still have a long way to go to achieve equality
Gloomy tales <a href="http://www.plaw.ir/purchase-sinemet">carb levodopa</a> Citing data points from around the world, the report makes the case that women still have a long way to go to achieve equality
I can't hear you very well <a href="http://hoosenji.or.jp/depakote-side-affect">depakote and pregnancy</a> Air Berlin last month canceled an order for 33 Boeing jets in a move aimed at improving its finances.
I can't hear you very well <a href="http://hoosenji.or.jp/depakote-side-affect">depakote and pregnancy</a> Air Berlin last month canceled an order for 33 Boeing jets in a move aimed at improving its finances.
What's the interest rate on this account? <a href="http://www.kopekoteli.com.tr/plavix-and-hairloss">harga plavix 75</a> The report said the commitments made in 2014 were just 3% below the record level of financing in 2011.
What's the interest rate on this account? <a href="http://www.kopekoteli.com.tr/plavix-and-hairloss">harga plavix 75</a> The report said the commitments made in 2014 were just 3% below the record level of financing in 2011.
Remove card <a href="http://www.londonconnects.org.uk/metformin-and-diarrhea-and-dehydration.cfm">glucophage clomid pcos</a> Under Brady Hoke, Michigan dipped to 5-7 this season and was among only four Big Teams to not earn a bowl bid
Remove card <a href="http://www.londonconnects.org.uk/metformin-and-diarrhea-and-dehydration.cfm">glucophage clomid pcos</a> Under Brady Hoke, Michigan dipped to 5-7 this season and was among only four Big Teams to not earn a bowl bid
I'd like to pay this in, please <a href="http://trans-america.ca/celebrex-vs-ibuprofen-for-arthritis">prezzo celebrex 200</a> The Seahawks won by the identical score they beat first-place Arizona five days earlier.
I'd like to pay this in, please <a href="http://trans-america.ca/celebrex-vs-ibuprofen-for-arthritis">prezzo celebrex 200</a> The Seahawks won by the identical score they beat first-place Arizona five days earlier.
Canada>Canada <a href="http://www.aards.com.au/himcolin-gel-by-himalaya.htm">himcolin gel is used for</a> "It is possible to mitigate some of the deleterious effects of work by reducing work-family conflict and improving sleep."
Canada>Canada <a href="http://www.aards.com.au/himcolin-gel-by-himalaya.htm">himcolin gel is used for</a> "It is possible to mitigate some of the deleterious effects of work by reducing work-family conflict and improving sleep."
Where are you calling from? <a href="http://www.custom-creations.org/minipress-prazosin-dosage">minipress prazosin side effects</a> The amount is far more than the $4.5 billion maximum fine that could have been levied under a simple 'negligence' ruling.
Where are you calling from? <a href="http://www.custom-creations.org/minipress-prazosin-dosage">minipress prazosin side effects</a> The amount is far more than the $4.5 billion maximum fine that could have been levied under a simple 'negligence' ruling.