خرید بک لینک

gameover.blog.ir

using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Move : MonoBehaviour {
 public InputField inputFiled1; 
 public Text label1; 
 public Button btn1;

 void Start ()
 {
                 //btn1.onClick.AddListener(()
  btn1.OnPointerDown.AddListener(()=>{

     ......

  });

}

رویدادهای دیگه:


OnDeselect Unset selection and transition to appropreate state.
OnMove Determine in which of the 4 move directions the next selectable object should be found.
OnPointerDown Evaluate current state and transition to pressed state.
OnPointerEnter Evaluate current state and transition to appropreate state.
OnPointerExit Evaluate current state and transition to normal state.
OnPointerUp Evaluate eventData and transition to appropriate state.
OnSelect Set selection and transition to appropreate state.

برچسب: نویسنده: ایلیا حیدری تاريخ: شنبه 3 مهر 1395 ساعت: 21:09

صفحه بندی