private void Start() { _wearableControl = WearableControl.Instance; _audioControl = AudioControl.Instance; _sfx = GetComponent <TargetSFX>(); _animator = GetComponent <Animator>(); _animator.SetBool("Destroy", false); _collected = false; _targetLocked = false; PlaySpawnSting(); }
private void Awake() { _wearableControl = WearableControl.Instance; _sfx = GetComponent <TargetSFX>(); _animator = GetComponent <Animator>(); }