Exemplo n.º 1
0
 private void Awake()
 {
     _lootComponent = gameObject.AddComponent <LootComponent>();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     _lootComponent = gameObject.AddComponent <LootComponent>();
     _itemUi        = gameObject.GetComponent <ItemUiWithSeparatedButton>();
 }