摘要:
平台定义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 阅读全文
摘要:
当需要销毁一个物体,但是需要保留子物体不被销毁transform.DetachChildren();Destroy(gameObject); Unity实现加载场景进度条using UnityEngine;using System.Collections;public class Scene2 :... 阅读全文