标题: 代码问题 在线等 求助!!!!!!! [打印本页] 作者: 她。 时间: 2013-5-13 08:46 标题: 代码问题 在线等 求助!!!!!!! 是这样,基本功能已经实现了,我在原有功能基础上加道具,然后报错 BCE0044:expecting(, found 'OnGUI'
UCE0001:';' expected.Insert a semicolon at the end.
BCE0044:expecting;,found','
private var noOfEnemies = 0;
var tribeNormalPrefab : GameObject;
var tribeHeavyPrefab : GameObject;
private var startPos : Vector3;
private var spawnTime : float;
private var spawnTimeLeft : int;
private var spawnTimeSeconds = 2;
var i = 0;
var waveFormation = new Array(0,0,0,1,1,0,1,0);
var playersWood = 200;