一.GameObject中的成员变量 主要思想:得到该脚本依附的GameObject的相关信息 现有: Lesson4的代码: using System.Collections; using System.Collections.Generic; using UnityEngine; public class Lesson4 : MonoBehaviour { void Start() { //1.得到名字 print(this.gameObject.name); //2.更改名字 this.g…
/// <summary> /// /// </summary> public class AjaxOnlyAttribute : ActionFilterAttribute { /// <summary> /// Called by the ASP.NET MVC framework before the action method executes. /// </summary> /// <param name="filterContex…