Spidermen
A downloadable game for Android
AR Spidermen
遊戲說明
發想自蜘蛛人互指meme,點擊+1讓不同平行世界的蜘蛛人穿越來你的手機裡! 按跳舞按鈕可以看大家一起跳舞。
組員
組員:劉語萱 | 巨資四A | 09170101 | 負責開發
組員:陳柏尹 | 巨資四A | 09170109 | 負責音效
組員:楊凱廉 | 巨資四A | 09170116 | 負責辨識圖
加分項目
自行寫程式碼,按+1顯示多一個蜘蛛人模型
using UnityEngine;
using UnityEngine.UI;
public class ShowModels : MonoBehaviour
{ public GameObject[] models;
public Button yourButton;
private int currentIndex = 0;
void Start() {
yourButton.onClick.AddListener(ShowNextModel);
foreach (var model in models) // 初始時將所有模型隱藏
{ model.SetActive(false); } }
void ShowNextModel() {
if (currentIndex < models.Length)
{ models[currentIndex].SetActive(true);
currentIndex++; } }}
Status | Released |
Platforms | Android |
Author | vickyvickyliu |
Genre | Action |
Tags | 3D |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.