ETİKETLER
waypoint
İÇERİK TÜRLERİ
benim hatam nedir yardım edebilecek olan varmı ?
[code]Assets/follower.js(26,70): BCE0019: 'position' is not a member of 'function(): String'.
[code]
var spawnPoints:Transform;
var waypoints : Transform[];
var distance = Vector3.Distance ;
private var waypoint=new Array();
private var mesafe:float;
private var sayac:int=0;
function Start () {
var i=0;
for (var child:Transform in spawnPoints){
waypoint[i]=child;
i++;
}
}
function Update () {