private void Start() { // Ensure the icon has been created _utilityWrapper = new UGUIMinimapUtilityWrapper(_minimapItem); _player = GameMainReferences.Instance.PlayerController.Entity; UpdateIcon(); _targetEntity.OnEntityReset += OnEntityReset; _utilityWrapper.IconCanvasGroup.alpha = 1f; }
public override void Initialise() { base.Initialise(); _utilityWrapper = new UGUIMinimapUtilityWrapper(_minimapItem); }