A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
maybe name of the class "public class PlayerMovement : MonoBehaviour" and the name of the script are different
just try to delete if-check using UnityEngine; using System.Collections; public class MouseMove2D : MonoBehaviour { private Vector3...
did you tried end the tag with comma ? Multiple tags may be separated by commas.
I think, your link got hacked :eek:
public class playerController : MonoBehaviour { public float moveSpeed; public float jumpForce; public KeyCode left; public...
public class PlayerMovemk4 : MonoBehaviour { public float speed; private Rigidbody2D rb; private Vector2 MoveAmount; private...
or try the trail renderer https://docs.unity3d.com/Manual/class-TrailRenderer.html
this is depended on the game. One solution is to use random x-y-position, as Moist_Bisquits said. or you can spawn on the predefined positions...
there is capsule 2d collider, still I have looked at it and its direction can't be saved in the animation (vertical-horizontal). Also I think box...
not sure, maybe you should use RectTransformUtility to calculate ui-position https://docs.unity3d.com/ScriptReference/RectTransformUtility.html
this is not just left or right. transform.right is the local vector on the gameobject. If the object was rotated with its "right" in the left...
yes, second is the stepped rotation. The angle between velocity and one local vector from the transform (that should be "face") will be...
//two empty gameobjects as borders public Transform leftBorder, rightBorder; private void Update() { if (transform.position.x...
try to use transform.right (if the bullet and player are right faced void fire() { bullet_pos = transform.position;...
is it all ? then you didn't moved the object private void Start() { //I have used Viewport here //(0,0)-left bottom and...
var dir = target.position - transform.position; with the moving you have already the direction as rigidbody.velocity try private void Update()...
add global light and enable disable it :D //ah, I see, you have tried it or maybe window - rendering - lighting setting and change environment...
can it have something with 4 GB cap to do ? https://forum.unity.com/threads/bug-4gb-limit-to-textures-in-standalone-build.441116/ I have read you...
I would use primitive collider too. Maybe a capsule collider. The size from the primitive collider can be controlled trough the animation. Ok, it...
Input should be checked in the update float horizontal; void Update() { horizontal = Input.GetAxis("Horizontal"); if...