Пример #1
0
    //[SerializeField] AudioClip doorOpenSFX;

    // Start is called before the first frame update
    void Start()
    {
        //   _cardLockScript = cardLock.GetComponent<Read_Keycard>();
        _powerScript = GetComponent <Powered_Component>();

        _doorAnim = GetComponent <Animator>();
    }
 // Start is called before the first frame update
 void Start()
 {
     _powerScript = GetComponent <Powered_Component>();
 }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     _powerScript = GetComponent <Powered_Component>();
     _coverAnim   = GetComponent <Animator>();
 }