Answer by Jeredriq
I used casting gameObject.transform.position +=(Vector3)new Vector2(direction.x, direction.y ) * -Speed; to solve the problem Although it's a 2D project, gameObject.transform.position was Vector3. I...
View ArticleAnswer by Jeredriq
Its c# but maybe this can help? using UnityEngine; using System.Collections; public class MouseLook : MonoBehaviour { void Update () { Vector3 mousePos = new Vector3(Input.mousePosition.x,...
View ArticleAnswer by Jeredriq
You can rar them? If unity sees an unity object such as a scene it automatically takes the main asset folder as a new project. So you can rar all your stuff, reinstall unity, then un-rar your stuff.
View ArticleAnswer by Jeredriq
I usually duplicate the object and color the new one as shadow. If thats why you're asking?
View ArticleAnswer by Jeredriq
Same thing happened to me too after many hours i found out that there was a collision with the ground which fucked up the animation and character movement. Maybe it's the same thing for you but i'm not...
View ArticleAnswer by Jeredriq
I've got this code: public void OnTriggerEnter(Collider col){ if(col.gameObject.tag=="Knife") photonView.RPC("networkDestroy", PhotonTargets.All, transform.parent.gameObject); } [RPC] public void...
View Article
More Pages to Explore .....