Answer by superlevani
you can save normal position in Vector3, when switching to sniper mode and then set transform.position to this Vector3.
View ArticleAnswer by superlevani
I finally managed to do this. I use this kind of thing: GUILayout.BeginHorizontal(); GUILayout.Space(30); GUILayout.Button("label"); GUILayout.Space(30); GUILayout.EndHorizontal();
View ArticleAnswer by superlevani
I finally found what was wrong. i used example animator and my script together and it worked, so it was animators fault. i changed transition from idle to jump in my animator exactly like example...
View ArticleAnswer by superlevani
you can save normal position in Vector3, when switching to sniper mode and then set transform.position to this Vector3.
View ArticleAnswer by superlevani
I finally managed to do this. I use this kind of thing: GUILayout.BeginHorizontal(); GUILayout.Space(30); GUILayout.Button("label"); GUILayout.Space(30); GUILayout.EndHorizontal();
View ArticleAnswer by superlevani
I finally found what was wrong. i used example animator and my script together and it worked, so it was animators fault. i changed transition from idle to jump in my animator exactly like example...
View Article