U3D實現詳情頁觸摸顯現:用event trigger組件監聽image的按下與擡起

在遊戲裏中,咱們常常會遇到詳情頁製做的需求,也就是點擊的時候會顯示出該詳情頁,鬆開後會消失。3d 這個功能用image+event trigger組件的功能便可實現。截圖以下:code 代碼以下:orm using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> ///
相關文章
相關標籤/搜索