update AI
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class PlayerInventory : MonoBehaviour
|
||||
{
|
||||
// Biến kiểm tra xem người chơi đã nhặt kho báu chưa
|
||||
public bool hasTreasure = false;
|
||||
public int score = 0; // Điểm số nếu bạn muốn cộng thêm
|
||||
[Header("Cấu hình túi đồ")]
|
||||
public int treasuresCollected = 0; // Đếm số lượng rương đã nhặt
|
||||
public int totalTreasuresNeeded = 3; // Số lượng cần để thắng
|
||||
}
|
||||
Reference in New Issue
Block a user