Unity3d grey screen in Asset store and services tabs

2016 12 17 No Comments

In Unity 5.4 there is a bug. Both Assets store and services tabs are not working.I dont know everyone has this problem.

Solution is dead simple. Just undock the section windows. And restart Unity3d, because in services section it can be shown “You do not have permission for this action” error.

Here is the problem:
screen-shot-2016-12-17-at-04-31-48

Solution:
screen-shot-2016-12-17-at-04-43-57

Unity3d DOTween creating sequence

2016 12 15 No Comments

dotween_logo

DOTween is one of the popular plugins in the Asset Store. It makes easier creating tweens and animations. Besides the Unity’s animation engine, Dotween is simple and useful. You can create tweens both with script or inspector easily.

Here you are sequence example in with DOTween:

Sequence Test_Sequence = DOTween.Sequence();
Test_Sequence.Append(Icon.transform.DOScale (new Vector3 (1.4f, 1.4f, 0), 0.1f));
Test_Sequence.Append(Icon.transform.GetComponent<Image>().DOColor(Color.red, 0.1f));
mySequence.Append(Icon.transform.DOScale (new Vector3 (1f, 1f, 1f), 0.1f));

Test_Sequence.AppendCallback(() => {
	// this is callback
	Debug.Log("Finished");
});
Test_Sequence.Play ();

For more examples click here.

Unity3D debugging on terminal

2016 12 14 No Comments

Sometimes we can need to debug the game on phone. It is best way to see the logs on phone is to watch app/game in terminal. In Unity3D we can do it simple:

Open terminal while your game running and be sure usb cable is plugged. Write these command:

adb logcat -s Unity

Here is the simple screenshot from my terminal:

screen-shot-2016-12-15-at-00-43-51

Unity3D Varsayılan Kod Editörünü Ayarlama

2015 11 11 2 Comments

Unity3D üzerinde yazdığınız scriptleri düzenlemek için bir programa ihtiyacınız var. Benim tercihim Monodevelop çünkü Unity nin kod kütüphanesiyle uyumlu. Örneğin Add yazdığınızda size Add ile başlayan Unity fonksiyonlarını listeliyor.

İsterseniz bu varsayılan olarak gelen Monodevelop u değiştirebilirsiniz.

Edit sekmesinden Preferences a tıklayın ve açılan pencerede External Tools a gidin.

unity-pref

Benim Unity3D her seferinde Visual Studio yu açıyordu onu değiştirmek için bunu bilmek gerekmiş. Paylaşayım dedim, iyi kodlamalar 🙂