PickUpItem.Start C# (CSharp) 메소드

Start() 공개 메소드

public Start ( ) : void
리턴 void
    void Start()
    {
        _player = UnityEngine.GameObject.FindGameObjectWithTag("Player");
        if (_player != null)
            _inventory = _player.GetComponent<PlayerInventory>().inventory.GetComponent<Inventory>();
    }