原创 DeadState

using System.Collections; using System.Collections.Generic; using UnityEngine; public class DeadState : FSMState {

原创 AssetBundle打包和加載

 好吧!廢話不多講,直接上圖上操作哈!   1.首先還是新建一個unity3d項目,導入需要資源文件,我這邊導入一個asset store 模型插件 unity-chan資源。   2.第一步,我們先創建打包AssetBundle 

原创 UI簡易框架-----泰斗社區

using UnityEngine; using System.Collections; using System; using System.Collections.Generic; public class UIManager {

原创 PanelMgr-----羅培羽

using UnityEngine; using System.Collections; using System.Collections.Generic; using System; public class PanelMgr : M

原创 Socket的監聽的三種方式

 首先要打開監聽 Listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP);

原创 LoginPanel

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Login

原创 AttackState

using System.Collections; using System.Collections.Generic; using UnityEngine; public class AttackState : FSMState {

原创 ChaseState

using System.Collections; using System.Collections.Generic; using UnityEngine; public class ChaseState : FSMState {

原创 UIBase

using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class UIBase { prot

原创 FSMManager

using System.Collections; using System.Collections.Generic; using UnityEngine; public enum Transition { SeePlayer,

原创 CommonHelper

using UnityEngine; using System.Collections; using System; using System.Collections.Generic; public class CommonHelper

原创 FSMState

using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class FSMState { p

原创 PatrolState

using System.Collections; using System.Collections.Generic; using UnityEngine; public class PatrolState:FSMState {

原创 FSM

using System.Collections; using System.Collections.Generic; using UnityEngine; public class FSM : MonoBehaviour {

原创 遊戲狀態

using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Reflection; public class G