摘要: 平台定义The platform defines that Unity supports for your scripts are:名称描述UNITY_EDITORDefine for calling Unity Editor scripts from your game code.UNITY_STANDALONE_OSXPlatform define for compiling/executing code specifically for Mac OS (This includes Universal, PPC and Intel architectures).UNITY_DASHBOAR 阅读全文
posted @ 2014-04-08 20:16 DragonX 阅读(1235) 评论(0) 推荐(0) 编辑
摘要: 当需要销毁一个物体,但是需要保留子物体不被销毁transform.DetachChildren();Destroy(gameObject); Unity实现加载场景进度条using UnityEngine;using System.Collections;public class Scene2 :... 阅读全文
posted @ 2014-04-08 20:15 DragonX 阅读(542) 评论(0) 推荐(0) 编辑