Skip to main content

What happens if my subscription expires and I have Pro assets in my game or draft?

Comments

2 comments

  • Unity Technologies

    Resign car

    0
  • Unity Technologies

    using UnityEngine;

    public class CarController : MonoBehaviour

    {

        public float speed = 1800f;

        public float turnSpeed = 80f;

        public Rigidbody rb;

        void Start()

        {

            rb = GetComponent<Rigidbody>();

        }

        void FixedUpdate()

        {

            float move = Input.GetAxis("Vertical");

            float turn = Input.GetAxis("Horizontal");

            rb.AddForce(transform.forward * move * speed * Time.fixedDeltaTime);

            transform.Rotate(Vector3.up * turn * turnSpeed * Time.fixedDeltaTime);

        }

    }

    0

Please sign in to leave a comment.

Powered by Zendesk