Inheritance: UIListItem
Example #1
0
	void PartyJoin( AsPartyListBtn listBtn)
	{
		listBtn.PartyJoin();
		m_ClickBtn = null;
		m_ClickTime = 0.0f;
	}
Example #2
0
	private void OnSelectRight()
	{
		AsSoundManager.Instance.PlaySound( "Sound/Interface/S6002_EFF_Button", Vector3.zero, false);
		
		UIListButton selItem = listRight.LastClickedControl as UIListButton;
		
		float curClickTime = Time.time;
		if( ( 0.4f >= ( curClickTime - prevClickTime)) && ( prevSelect == selItem))
		{
			AsUserInfo.Instance.ApplyInGameDataOnChannelInfo();
			AsChannelListBtn dataContainer = selItem.gameObject.GetComponent<AsChannelListBtn>();
			dataContainer.EnterChannel();
		}
		
		prevSelect = selItem;
		prevClickTime = curClickTime;
	}