Exemplo n.º 1
0
 // 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>());
     }
 }
Exemplo n.º 2
0
 void Start()
 {
     resetTime = FindObjectOfType <ChangeValues>();
 }
Exemplo n.º 3
0
 public StockStateBox(ChangeValues changeValues)
 {
     InitializeComponent();
     pre = this;
     this.changeValues = changeValues;
 }
Exemplo n.º 4
0
 public StockStateBox(ChangeValues changeValues)
 {
     InitializeComponent();
     pre = this;
     this.changeValues = changeValues;
 }