Hello Answers,
I have been working a Ghost System and want to copy one list to another when the script starts,
Weirdly enough, the command I setup on void start seems to be running itself over and over again at the same time as the other script is changing values.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GhostPlayer : MonoBehaviour {
public List<Vector2> playerMove;
public Player player;
void Start () {
playerMove = GameObject.FindGameObjectWithTag ("Player").GetComponent<Player> ().playerPos;
}
void Update () {
}
}
Here is the code,
Really have no Idea what is going on…
Thanks in advance,
NightLucidity