/// <summary> /// Perform the action /// </summary> /// <returns></returns> protected override void Execute(bool isStart) { if (Target != null) { DisplayItemHelper.SetAttention(Owner.gameObject, Attention); } }
/// <summary> /// Perform the action /// </summary> /// <returns></returns> protected void PerformAction() { var gameObject = Fsm.GetOwnerDefaultTarget(Target); if (gameObject != null) { DisplayItemHelper.SetAttention(gameObject, Attention.Value); } }
public void Start() { DisplayItemHelper.SetAttention(AttentionButton.gameObject, true); }