private void Awake() { if (instance != null) { Debug.LogWarning("Multiple Instances of AIShootingManager"); return; } instance = this; }
// Start is called before the first frame update void Start() { manager = AIShootingManager.instance; remainingClip = weapon.clipSize; }