美文网首页
unity全局脚本

unity全局脚本

作者: 我是你幻觉 | 来源:发表于2017-11-16 15:14 被阅读0次

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

public class Globle{

public  static bool zongkongzhi;

public static bool index = true;

}

定义全局脚本,不需要挂在任何物体,可跨场景全局调用

相关文章

网友评论

      本文标题:unity全局脚本

      本文链接:https://www.haomeiwen.com/subject/ulionttx.html