private void Awake() { animator = GetComponent <Animator>(); if (!gunSocket) { gunSocket = GetComponent <GunSocket>(); } if (!gunSocket) { enabled = false; } }
private void Awake() { gunSocket = GetComponent <GunSocket>(); }
private void Awake() { recoilComponents = GetComponentsInChildren <IRecoil>(); gunSocket = GetComponent <GunSocket>(); }