示例#1
0
    void Start()
    {
        //Add to spawn state
        SpawnState.addSpawner(this);

        takingDamage = false;

        timeDamage = 3f;
        groupSpawn = 5;

        healthBar.minValue = 0;
        healthBar.maxValue = 100;

        shieldUp = true;
    }
示例#2
0
    // Start is called before the first frame update
    void Start()
    {
        //Add to spawn state
        SpawnState.addSpawner(this);

        health = 2000;
        GameState.addNode();
        this.takingDamage = false;

        timeDamage = 3f;
        groupSpawn = 5;

        healthBar.minValue = 0;
        healthBar.maxValue = 100;
    }
示例#3
0
 // Start is called before the first frame update
 void Start()
 {
     initialSpawn = 5;
     SpawnState.addSpawner(this);
 }