摘要: using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class EventTriggerListener : UnityEngine.EventSystems.EventTrigger { public delegate void VoidDelegate(GameOb... 阅读全文
posted @ 2016-07-05 14:39 CocomoNo1 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 注:Paotai为大炮,所挂载的脚本为Move. using UnityEngine;using System.Collections; public class Move : MonoBehaviour{ public Transform TargetMove;//作为炮口的瞄准目标 privat 阅读全文
posted @ 2016-07-05 14:09 CocomoNo1 阅读(494) 评论(0) 推荐(0) 编辑