void Awake() { gameItemDrop = GetComponent <ItemDrop>(); if (gameItemDrop == null) { gameItemDrop = gameObject.AddComponent <ItemDrop>(); } }
void Awake() { gameItemDrop = GetComponent<ItemDrop>(); if (gameItemDrop == null) gameItemDrop = gameObject.AddComponent<ItemDrop>(); }