新建一个AdminViewModel 文件,建立视图模型类 public class RoleViewModel { public string Id { get; set; } [Required(AllowEmptyStrings=false)] [Display(Name="角色名称")] public string Name { get; set; } [Display(Name="角色描述")] [StringLength(50,ErrorMessage=
using System.Collections;using System.Collections.Generic;using UnityEngine; public class Player : MonoBehaviour { protected ContactFilter2D contactFilter; protected RaycastHit2D[] hitBuffer = new RaycastHit2D[16]; protected List<RaycastHit2D> hitBu
传送触发器 using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.SceneManagement; //玩家传送触发器及传送点public class StreetChanger : MonoBehaviour { public string sceneName;//传送的场景的名字 public float transTime;//传送等待的时间,比如在此时间内
对话类--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- using System.Collections.Ge