摘要:
1. 去除启动exe项目时出现的画面窗口 File ☞ Build Settings ☞Pc and Mac Standalone ☞ Player Settings ☞Resolution and Presentation ☞Display Resolution 选项改为 Dialog Disab 阅读全文
posted @ 2016-07-01 17:17
CocomoNo1
阅读(504)
评论(0)
推荐(0)
摘要:
[添加脚本(Move)] //该脚本挂在img的父物体上 using UnityEngine;using System.Collections;using UnityEngine.UI; //定义枚举 public enum Tools{ 空, 塞尺} public class Move : Mon 阅读全文
posted @ 2016-07-01 12:56
CocomoNo1
阅读(403)
评论(0)
推荐(0)
摘要:
一:(碰撞体)触发信息检测: 发生碰撞的两个物体应满足的条件: NO1:两物体都应该有碰撞体 NO2:其中一个带刚体; NO3:检测触发信息的脚本需绑定在带刚体的物体上 1.MonoBehaviour.OnCollisionEnter( Collision collisionInfo ) 当进入碰撞 阅读全文
posted @ 2016-07-01 09:52
CocomoNo1
阅读(527)
评论(0)
推荐(0)
摘要:
Event System 组成 系统生成的Event System里面主要有两个Components,分别是Event System和Standalone Input Module。其中Standalone Input Module是派生自BaseInputModule。 作用 1. EventSy 阅读全文
posted @ 2016-07-01 09:31
CocomoNo1
阅读(310)
评论(0)
推荐(0)
摘要:
using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; [RequireComponent(typeof(Image))] public class DragMe : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler {... 阅读全文
posted @ 2016-07-01 09:27
CocomoNo1
阅读(685)
评论(0)
推荐(1)
摘要:
Transform 变换 Namespace: UnityEngine Inherits from: Component Namespace: UnityEngine Inherits from: Component Description 描述 Position, rotation and sca 阅读全文
posted @ 2016-07-01 09:00
CocomoNo1
阅读(269)
评论(0)
推荐(0)