Azarian

Cheesy Run

by Azarian

Cheesy Run Unity

Screenshots

Cheesy Run Unity
Cheesy Run Unity
Cheesy Run Unity

Specification

How to Use

Sample Code

using UnityEngine; using System.Collections; public class ObjectMove : MonoBehaviour { public float speed; public float limit; private GameManager gm; void Start() { gm = GameObject.FindObjectOfType<GameManager>(); } void Update () { if (gm != null && Time.timeScale > 0) transform.localPositi Vector3(transform.localPosition.x - (speed + gm.increaseSpeed), transform.localPosition.y, 0); if (transform.localPosition.x <= limit) { Destroy(gameObject); } } }

Video

Comments (0)

  • {{com.username}}
    {{com.username}}
    Buyer
    Seller

    {{com.username}}

    {{com.ctime}}

    {{com.content}}

    • {{com2.username}}
      {{com2.username}}
      Buyer
      Seller

      {{com2.username}}

      {{com2.ctime}}

      {{com2.content}}