ArtificialTankDriver_by_QI.Tank.CooldownWeapon()

Here are the examples of the csharp api class ArtificialTankDriver_by_QI.Tank.CooldownWeapon() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: Unity-Neural-Network-Tanks-AI
Source File: Tank.cs
public void Shoot() {
			if (!weaponReady || !gameObject.activeSelf) return;
			weaponReady = false;
			Instantiate(bullet, shootPoint.position, shootPoint.rotation).GetComponent<ShootObject>().Setup(Score);

			StartCoroutine(CooldownWeapon());
		}