Sehari sebelumnya, aplikasi tidak bermasalah, lalu aku update OS dan Xcodenya. Ketika aku buka aplikasinya kembali, ternyata eh ternyata muncul beberapa error xD, hadeuuuuh... Salah satunya ada error gini:
"Use of undeclared identifier 'GL_BGRA_EXT'"
Kemudian aku tanya mbah deh, xixixi, katanya:
" I fixed these by replacing GL_BGRA_EXT with GL_RGBA in both instances "
maksudnya; ganti "GL_BGRA_EXT" dengan "GL_RGBA "
Akhirnya... errorpun hilang,,, :D
Sumber:
http://forum.unity3d.com/threads/ios8-xcode6-compatibility.249533/
Sunday, 9 November 2014
Memanggil Fungsi dari Gameobject Lain
GameObject go = GameObject.Find("somegameobjectname");
ScriptB other = (ScriptB) go.GetComponent(typeof(ScriptB));
other.DoSomething();
sumber:
http://answers.unity3d.com/questions/7555/how-do-i-call-a-function-in-another-gameobjects-sc.html
Memanggil Fungsi C# di Javascript
var myVar = GameObject.Find("Game Object Name");
myVar.SendMessage("Function Name");
Saturday, 1 November 2014
Unity 3d Game - Pendukung Belajar
- http://unity3d.com/learn
- Lynda - Advanced Unity 3D Game Programming[AKD])
Subscribe to:
Posts
(
Atom
)