Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

error CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected

$
0
0
Hello everyone. I have an error and I don't know how can I fix it. Here is the code! using UnityEngine; using System.Collections; using System.Collections.Generic; public class Spawn : MonoBehaviour { public float maxHeight; public float minHeight; public float rateSpawn; private float currentRateSpawn; public GameObject tubePrefab; public int maxSpawnTubes; public List tubes; private GameController gameController; // Use this for initialization void Start () { for (int i=0; i rateSpawn) { currentRateSpawn = 0; Spawn(); } } private void RateSpawn(){ float randHeight = Random.Range(minHeight, maxHeight); GameObject tempTube = null; for (int i=0; i

Viewing all articles
Browse latest Browse all 7934

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>