예제 #1
0
 /// <summary>
 /// Perform the action
 /// </summary>
 /// <returns></returns>
 protected override void Execute(bool isStart)
 {
     if (Target != null)
     {
         DisplayItemHelper.SetAttention(Owner.gameObject, Attention);
     }
 }
예제 #2
0
        /// <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);
 }