It is certain that you usually do have trouble going into sleep after you lie down on bed. This is true for a lots of people these days, may he or she be student, housewife, lecturer, job holder and most of all software developer like me. These days i heard from a lots of people that they are having trouble sleeping even after they lie down in the bed for a long time, that is even couple of hour some times.
I have always been passionate about writing and it is the only way by which i learn quickly. The time when i learn things by making a notes, i understand the matter sooner. In spite of this, my writing is not so good however, i always want to improve my writing.
I remember when i started learning by writing, it was some class of around 4th grade but i am not sure.
Recently i was having multiple issues with google play games plugin integration in Unity. It was not working at all. After spending the couple of hours in it, i was able to fix the issue. This is a note to myself as well for others who are having trouble with the integration.
I was using Admob plugin along with Google Play Games plugin. In the process of fixing the error i got different kinds of error.
Code snippet to start the animation at different time. Useful when there are many same animation running on screen and you want to make them random.
Animator anim = GetComponent<Animator> (); AnimatorStateInfo state = anim.GetCurrentAnimatorStateInfo (0); anim.Play (state.fullPathHash, -1, Random.Range(0f,1f)); You can add this code in Start or Awake function and add to the GameObject with the Animator component.
private T[] ShuffleArray<T>(T[] array) { System.Random r = new System.Random (); for(int i = array.Length; i > 0; i--) { int j = r.Next (i); T k = array [j]; array [j] = array [i - 1]; array [i - 1] = k; } return array; } Example:
Int Array int[] intArray = new int[] {1,2,3,4}; intArray = ShuffleArray(intArray); Float Array float[] floatArray = new float[] {1.0f,2.0f,3.0f,4.0f}; floatArray = ShuffleArray(floatArray);
I am currently working on a game development, i do programming and in the game if i require graphics then i hire designer. I was curious about how other indie developers like me manage the game assets. I asked in a Facebook group about this topic. Hopefully i got reply from Dozens of people. In this post i will share how they manage the game assets being a Game Programmer.
I got a chance to Volunteer as a Observer in local election which was held in 31 Baisakh 2074 (14th of May 2017) from Forum for protection of Human Rights (FOPHUR/ मानब अधिकार संरक्षक मंच under Collective Campaign For Peace (COCAP).
I almost went for observation in 15 different Election Center in Pokhara Lekhnath Metropolitan, Kaski. The overall Election was peaceful in the places i observed.
In some of the Election center i got the permission for taking photographs.
So finally you are here because you’ve made a decision to take a Vipassana Meditation course at Dhamma Pokhara. That is great, you’ve made one of the best decision in your life. I have taken it from 1st of the April 2017 to 12th by A.T Khadga Karki and it was great, lifetime experience for me. In this post i will share more about Dhamma Pokhara so that it will be easier for you to plan before you go there.
Today i was working on a project where i required to add the invisible button. I tried different methods like making button transparent, adding the image in the button. But then i came to know about this solution. I think that this is probably the best solution.
Steps to add invisible button in Unity3D 1. Add the Button. (UI -> Button)
2. Edit the height and width of the button according to your fit.
Hello all,
I have completed the Bachelor of Engineering in Software Engineering from Pokhara University affiliated Gandaki College of Engineering and Science (GCES), Lamachaur, Pokhara.
Recently on February 25th 2017, I had the convocation ceremony. The summary of this event can be found on my next blog. “Convocation Ceremony - Pokhara University”.
I would like to thank everyone for helping me through out this journey. Especially my Father, Mother and my brother.