add
This commit is contained in:
parent
1df706fa79
commit
4d14f14085
@ -1647,6 +1647,7 @@ GameObject:
|
|||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 618926457}
|
- component: {fileID: 618926457}
|
||||||
- component: {fileID: 618926458}
|
- component: {fileID: 618926458}
|
||||||
|
- component: {fileID: 618926459}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: demine01
|
m_Name: demine01
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -1697,6 +1698,18 @@ BoxCollider2D:
|
|||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Size: {x: 1.9975827, y: 1.4064226}
|
m_Size: {x: 1.9975827, y: 1.4064226}
|
||||||
m_EdgeRadius: 0
|
m_EdgeRadius: 0
|
||||||
|
--- !u!114 &618926459
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 618926456}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f2333cc3fd27a3f41852e211bb5cdea1, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
--- !u!1 &638771785
|
--- !u!1 &638771785
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -3,8 +3,9 @@ using System.Collections.Generic;
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Palmmedia.ReportGenerator.Core;
|
||||||
|
|
||||||
public class room : MonoBehaviour
|
public class room : mount
|
||||||
{
|
{
|
||||||
public int roomNumber;
|
public int roomNumber;
|
||||||
public int maxNumer=10;
|
public int maxNumer=10;
|
||||||
@ -70,11 +71,14 @@ public class room : MonoBehaviour
|
|||||||
PlayerManager.Instance.SetMoney(MoneyType.Stones, -10);
|
PlayerManager.Instance.SetMoney(MoneyType.Stones, -10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Generate();
|
||||||
haveNumber--;
|
haveNumber--;
|
||||||
toolsNumber--;
|
toolsNumber--;
|
||||||
UpdateShowCazhi();
|
UpdateShowCazhi();
|
||||||
ChangeTextPro();
|
ChangeTextPro();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Vector3
|
//Vector3
|
||||||
GameObject.Instantiate(Boom, new Vector3(startPos.position.x, startPos.position.y + 0.5f, startPos.position.z - 1f), Quaternion.identity);
|
GameObject.Instantiate(Boom, new Vector3(startPos.position.x, startPos.position.y + 0.5f, startPos.position.z - 1f), Quaternion.identity);
|
||||||
await Task.Delay(500);
|
await Task.Delay(500);
|
||||||
@ -208,8 +212,13 @@ public class room : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private bool Generate()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
//¿ªÍØ·¿¼ä
|
//¿ªÍØ·¿¼ä
|
||||||
void GetRoom()
|
void GetRoom()
|
||||||
{
|
{
|
||||||
@ -268,8 +277,11 @@ public class room : MonoBehaviour
|
|||||||
cazhi[4].SetActive(true);
|
cazhi[4].SetActive(true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user