// ----------------------------------------------------------------------------------- // UCE_UI_HarvestingLoot // ----------------------------------------------------------------------------------- public UCE_UI_HarvestingLoot() { // assign singleton only once (to work with DontDestroyOnLoad when // using Zones / switching scenes) if (singleton == null) { singleton = this; } }
public void Target_UCE_finishResourceNodeAccess(NetworkConnection target) { if (UCE_ResourceNodeValidation()) { if (!UCE_harvestingUIInstance) UCE_harvestingUIInstance = FindObjectOfType<UCE_UI_HarvestingLoot>(); UCE_harvestingUIInstance.Show(); } }