private void Start() { _gm = GameManager.Instance; _pistolManager = GetComponent <PistolManager>(); _pistolUIManager = CanvasManager.Instance.PistolUIManager; StartCoroutine(Rechange()); }
private void Awake() { if (Instance == null) { Instance = this; } muzzleFlash = muzzleTransform.GetComponent <ParticleSystem>(); source = muzzleTransform.GetComponent <AudioSource>(); }