原创 ResourcesManager

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

原创 TimerManager

using UnityEngine; using System.Collections; using System.Collections.Generic; public class TimerManager : MonoBehavi

原创 DownloadManager

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using

原创 Skill

using UnityEngine; using System.Collections; using System.Collections.Generic; public enum SkillTypes{ BornSkill = 0,

原创 SkillTest

using UnityEngine; using System.Collections; public class SkillTest : MonoBehaviour { public NavMeshAgent m_NavAgent;

原创 支付寶SDK

unity3d 接入安卓支付寶SDK操作步驟性這東西,時間長了就難免忘記,以防日後要接的時候再次爬坑目標:導出支付寶插件包(arr包)給UNITY調用主要三大坑:                   A坑 Android Studio的安

原创 C#的枚舉數(Enumerator)和可枚舉類型(Enumerable)

數組可以被foreach語句遍歷數組中的元素,原因是數組可以按需提供一個叫做枚舉數(enumerator)的對象.枚舉數可以依次返回請求的數組的元素. 對於有枚舉數的類型而言,必須有一個方法來獲取它們.在.NET中獲取一個對象枚舉數的標準

原创 場景加載器

using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events;

原创 Http通信

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; pub

原创 宏管理

using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UnityEditor; publi

原创 DOTWeen使用方法

using UnityEngine; using System.Collections; using DG.Tweening; using UnityEngine.UI; public class TestDoTween : Mono

原创 C#中File類的文件操作方法詳解

本文實例講述了C#中File類的文件操作方法。分享給大家供大家參考。具體分析如下: File類,是一個靜態類,主要是來提供一些函數庫用的。靜態實用類,提供了很多靜態的方法,支持對文件的基本操作,包括創建,拷貝,移動,刪除和打開一個文件

原创 Loading場景

using UnityEngine; using System.Collections; public class LoadingSceneCtrl : MonoBehaviour { /// <summary> //

原创 unity虛擬搖桿

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Event

原创 UILogin

using UnityEngine; using System.Collections; using System.Collections.Generic; public class UILogin : UIBase { publi