新建一个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;using UnityEngine.SceneManagement; //玩家传送触发器及传送点public class StreetChanger : MonoBehaviour { public string sceneName;//传送的场景的名字 public float transTime;//传送等待的时间,比如在此时间内
对话类--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- using System.Collections.Ge
首先给出两者的圣典: CollisionFlagsMove(Vector3motion); Description A more complex move function taking absolute movement deltas. Attempts to move the controller by motion, the motion will only be constrained by collisions. It will slide along colliders. Colli