- 多重条件的判断
- 假设选择不同难度等级的游戏
- 选择之后弹出对应的难度提示
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class player : MonoBehaviour
{
public int easyLevel = 0;
public int mediumLevel = 1;
public int hardLevel =</
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class player : MonoBehaviour
{
public int easyLevel = 0;
public int mediumLevel = 1;
public int hardLevel =</