■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で掴む機能には問題なしです。
Recorded Delivery <a href="http://anvil.me/wellbutrin-sr-mg">wellbutrin sr dosage for weight loss</a> “Last year we were so poor in the run game that it ruined our balance and as a result we turned the ball over at a ridiculous rate
Recorded Delivery <a href="http://anvil.me/wellbutrin-sr-mg">wellbutrin sr dosage for weight loss</a> “Last year we were so poor in the run game that it ruined our balance and as a result we turned the ball over at a ridiculous rate
I'm on holiday <a href="http://www.stonematrix.com/onde-comprar-bepantol-liquido-mais-barato.html">onde comprar bepantol mamy mais barato</a> But he wants two things in life — one is excitement, and the other is companionship
I'm on holiday <a href="http://www.stonematrix.com/onde-comprar-bepantol-liquido-mais-barato.html">onde comprar bepantol mamy mais barato</a> But he wants two things in life — one is excitement, and the other is companionship
US dollars <a href="http://www.kiralikevara.com/levothyroxine-and-liver/">feline levothyroxine</a> Be sure to include native species – milkweed for monarch caterpillars and native wildflowers to provide nectar for the adult butterflies.
US dollars <a href="http://www.kiralikevara.com/levothyroxine-and-liver/">feline levothyroxine</a> Be sure to include native species – milkweed for monarch caterpillars and native wildflowers to provide nectar for the adult butterflies.
Could you tell me my balance, please? <a href="http://www.squadguru.com/precio-minocin-espaa/">donde puedo comprar minocin</a> The six global powers are closer than they have ever been to resolving the longstanding tensions over Iran's nuclear programme
Could you tell me my balance, please? <a href="http://www.squadguru.com/precio-minocin-espaa/">donde puedo comprar minocin</a> The six global powers are closer than they have ever been to resolving the longstanding tensions over Iran's nuclear programme
Accountant supermarket manager <a href="http://userinterfaceicons.com/what-is-meloxicam-used-for-humans">meloxicam tab</a> Furthermore, children whose mothers smoked during pregnancy are 50% more likely to have sight problems than other children.
Accountant supermarket manager <a href="http://userinterfaceicons.com/what-is-meloxicam-used-for-humans">meloxicam tab</a> Furthermore, children whose mothers smoked during pregnancy are 50% more likely to have sight problems than other children.
We're at university together <a href="http://www.custom-creations.org/side-affects-lipitor">walmart atorvastatin calcium price</a> "When we explain to people what this is, there is absolutely no negative connotation," Luckasevic said
We're at university together <a href="http://www.custom-creations.org/side-affects-lipitor">walmart atorvastatin calcium price</a> "When we explain to people what this is, there is absolutely no negative connotation," Luckasevic said
I read a lot <a href="http://studentaccommodationderry.co.uk/ezetimibe-side-effects">zetia vytorin settlement</a> Gordon was also raised for a time by Houston, one of the best-selling recording artists of all time, but she never formally adopted him
I read a lot <a href="http://studentaccommodationderry.co.uk/ezetimibe-side-effects">zetia vytorin settlement</a> Gordon was also raised for a time by Houston, one of the best-selling recording artists of all time, but she never formally adopted him
I wanted to live abroad <a href="http://k9prop.info/harga-obat-bisoprolol-fumarate">harga bisoprolol</a> A person with neurotic tendencies is more sensitive to stress than other people," the Swedish team added.
I wanted to live abroad <a href="http://k9prop.info/harga-obat-bisoprolol-fumarate">harga bisoprolol</a> A person with neurotic tendencies is more sensitive to stress than other people," the Swedish team added.
I sing in a choir <a href="http://99beers.com/chloromycetin-dosage">chloramphenicol eye drops side effects</a> This can be because of the geography of the area or difficulties with planning permissions in places of outstanding natural beauty
I sing in a choir <a href="http://99beers.com/chloromycetin-dosage">chloramphenicol eye drops side effects</a> This can be because of the geography of the area or difficulties with planning permissions in places of outstanding natural beauty
Would you like to leave a message? <a href="http://99beers.com/chloromycetin-dosage">chloramphenicol eye drops side effects babies</a> “His blocking when he got here (needed work), but now, he’s competing,” Ryan said
Would you like to leave a message? <a href="http://99beers.com/chloromycetin-dosage">chloramphenicol eye drops side effects babies</a> “His blocking when he got here (needed work), but now, he’s competing,” Ryan said