Hostility System
Implemented hostility system - entities can mark each other as friend or foe depending on changing conditions (currently only depends on local security level) Added "friendly" target indicators in blue
This commit is contained in:
parent
81acaf2a47
commit
1284149d47
39 changed files with 519 additions and 141 deletions
11
Assets/Scripts/UI/HUD/VisibleTargetIndicator.cs
Normal file
11
Assets/Scripts/UI/HUD/VisibleTargetIndicator.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class VisibleTargetIndicator : MonoBehaviour
|
||||
{
|
||||
public RectTransform Transform;
|
||||
public Image Fill;
|
||||
public PlaceUIElementWorldspace Place;
|
||||
}
|
||||
Loading…
Reference in a new issue