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