// Use this for initialization void Start() { data = FindObjectOfType <VariableData>(); playerPosition = GameObject.FindGameObjectWithTag("Player").GetComponent <Transform>(); enemySpawn = GameObject.FindGameObjectsWithTag("SpawnPoints"); active = FindObjectOfType <ChangeValues>(); for (int i = 0; i < enemySpawn.Length; i++) { enemySpawnTransform.Add(enemySpawn[i].GetComponent <Transform>()); } }
void Start() { resetTime = FindObjectOfType <ChangeValues>(); }
public StockStateBox(ChangeValues changeValues) { InitializeComponent(); pre = this; this.changeValues = changeValues; }
public StockStateBox(ChangeValues changeValues) { InitializeComponent(); pre = this; this.changeValues = changeValues; }