■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で掴む機能には問題なしです。
Could I order a new chequebook, please? <a href="http://www.aards.com.au/cytotec-alone-dosage-for-abortion.htm">how much cytotec is needed for abortion</a> intelligence community to declassify information that showed the hackers used such servers
Could I order a new chequebook, please? <a href="http://www.aards.com.au/cytotec-alone-dosage-for-abortion.htm">how much cytotec is needed for abortion</a> intelligence community to declassify information that showed the hackers used such servers
A book of First Class stamps <a href="http://womencenter.ir/fade-ginette-claudette-lyrics">prix bague ginette ny</a> He had been incarcerated for nearly three months and must serve 500 hours of community service.
A book of First Class stamps <a href="http://womencenter.ir/fade-ginette-claudette-lyrics">prix bague ginette ny</a> He had been incarcerated for nearly three months and must serve 500 hours of community service.
Could I make an appointment to see ? <a href="http://www.asiantbi.org/triamterene-hydrochlorothiazide">hair loss triamterene</a> The money gets reinvested and is not necessarily a mark ofmisguided capital allocation
Could I make an appointment to see ? <a href="http://www.asiantbi.org/triamterene-hydrochlorothiazide">hair loss triamterene</a> The money gets reinvested and is not necessarily a mark ofmisguided capital allocation
I work for a publishers <a href="http://na-da.co.jp/babyface-tretinoin-and-hydroquinone">ic tretinoin</a> The twohomebuilders' shares have gained 30 percent and 20 percentrespectively this year on the back of Britain's rising propertymarket
I work for a publishers <a href="http://na-da.co.jp/babyface-tretinoin-and-hydroquinone">ic tretinoin</a> The twohomebuilders' shares have gained 30 percent and 20 percentrespectively this year on the back of Britain's rising propertymarket
I've been cut off <a href="http://plateroytu.com/bimatoprost-synthesis">bimatoprost ophthalmic solution careprost kaufen</a> “He’s done some good things and he’s going to have a chance to make this team,” Long said
I've been cut off <a href="http://plateroytu.com/bimatoprost-synthesis">bimatoprost ophthalmic solution careprost kaufen</a> “He’s done some good things and he’s going to have a chance to make this team,” Long said
this post is fantastic <a href="http://plateroytu.com/bimatoprost-synthesis">grow eyelashes bimatoprost</a> It's not available in blue but it's for sale in khaki green from the Gucci online store
this post is fantastic <a href="http://plateroytu.com/bimatoprost-synthesis">grow eyelashes bimatoprost</a> It's not available in blue but it's for sale in khaki green from the Gucci online store
Three years <a href="http://plateroytu.com/bimatoprost-synthesis">bimatoprost pay code</a> There is no date on the court papers indicating when the grand jury indicted Kasimov.
Three years <a href="http://plateroytu.com/bimatoprost-synthesis">bimatoprost pay code</a> There is no date on the court papers indicating when the grand jury indicted Kasimov.
An accountancy practice <a href="http://www.ebookmart.com.au/plavix-and-cialis-taken-together/">plavix ttp</a> of House Representatives last year with a focus on protecting the planet against climate change.
An accountancy practice <a href="http://www.ebookmart.com.au/plavix-and-cialis-taken-together/">plavix ttp</a> of House Representatives last year with a focus on protecting the planet against climate change.
Lost credit card <a href="http://wilkinsplastering.co.uk/cozaar-50-mg-tablets.html">losartan walgreens</a> A pay-for-play system would, in theory, eradicate those nuisances for the time being
Lost credit card <a href="http://wilkinsplastering.co.uk/cozaar-50-mg-tablets.html">losartan walgreens</a> A pay-for-play system would, in theory, eradicate those nuisances for the time being
Have you got a current driving licence? <a href="http://heraldrybydesign.com/prezzo-havana-club-aejo-especial">purchase avanafil</a> Vigneault has said that he wanted Stempniak, who recently recovered from mumps, to get his legs back under him
Have you got a current driving licence? <a href="http://heraldrybydesign.com/prezzo-havana-club-aejo-especial">purchase avanafil</a> Vigneault has said that he wanted Stempniak, who recently recovered from mumps, to get his legs back under him