Files
MRArcadia/Assets/_Arcadia/Scripts/Player/PlayerModel.cs
2026-03-24 11:25:32 +08:00

51 lines
1.0 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using DragonLi.Core;
using UnityEngine;
using UnityEngine.UIElements;
public class PlayerModel : MonoBehaviour
{
public GameObject[] dress;
public GameObject t_Dress;
public GameObject shoe1;
public GameObject shoe2;
public int maxOverIndex;
public Animator playAir;
public Animator yiFuAir;
public GameObject playEx;
public GameObject winPuzzleEx;
public GameObject losePuzzleEx;
private int _overIndex;
public void Init()
{
maxOverIndex = 6;
foreach (var item in dress)
{
item.SetActive(false);
}
t_Dress.SetActive(true);
shoe1.SetActive(true);
shoe2.SetActive(true);
playEx.gameObject.SetActive(false);
winPuzzleEx.gameObject.SetActive(false);
losePuzzleEx.gameObject.SetActive(false);
}
private void OnTriggerEnter(Collider other)
{
if (other.tag == "Puzzle")
{
}
}
}