示例#1
0
 public MiningWall(AudioSource source, AudioClip[] clips)
 {
     Audio = source;
     Clips = new AudioClip[clips.Length];
     clips.CopyTo(Clips,0);
     HealthPoints = Scene.rnd.Next(100, 151);
     DamageCoef = 1.0f;
 }
示例#2
0
    public HugeCrystal(AudioSource source, AudioClip[] clips)
    {
        Audio = source;
        Clips = new AudioClip[clips.Length];
        clips.CopyTo(Clips, 0);

        HealthPoints = Scene.rnd.Next(120, 200);
        DamageCoef = 1.1f;
    }
示例#3
0
    public MushroomTree(AudioSource source, AudioClip[] clips)
    {
        Audio = source;
        Clips = new AudioClip[clips.Length];
        clips.CopyTo(Clips, 0);

        HealthPoints = Scene.rnd.Next(50, 101);
        DamageCoef = 1.0f;
    }