An infrastructure libraries for Unity & C#
Clone and checkout specified branch of this repository, use only limited functionality of following features without checkout entire irrelavant class and libraries.
Use git submodule to add submodule from this repository and specify a branch name to use only that feature.
- F_ABFetcher : Asset Bundle Loader ( official plugin included: https://assetstore.unity.com/packages/tools/utilities/assetbundle-manager-example-scenes-45836 )
- Provide a asset bundle loader ABFetcherLoaderBase to initialized asset bundle, and to be called as a loader.
- Provide a loading script ABDownloaderBase with states to check all specified bundle files.
- Inherited Classes :
- AssetBundleManager: Official asset bundle manager (static).
- LoaderExample: use AssetBundleManager, to provide handler after the protected methods are called. ( ex. LoadAssetAsync_Callback )
- ABFetcherLoaderBase: Inherited from LoaderExample, and provide public method to be called by other process.
- ABDownloaderBase: Abstract class that is inherited from ABFetcherLoaderBase with states to be ready to check a list of CheckItem.
- ABDownloader: Inherited from ABDownloaderBase to use ABSetupInfo to check the versions of each bundles.
- Besides load asset handler and level handler, provide bundle loading handler.
- F_ConversationManager : Conversation(dialogs) manager
- A conversation manager traverse all stories and takes.
- Story: a indices of takes.
- Take: all information to present a take.
- F_DataCenter : Generic data storage to save all data as string.
- Use data storage to check basic conditions be triggered.
- F_EditorTools :
- version incrementation and set to project setting. by a file Assets/Resources/version.txt
- Clean caching by Caching.CleanCache() or Caching.ClearCache().
- Delete playerprefs by PlayerPrefs.DeleteAll()
- font replacement among UnityEngine.UI.Text or GUIText by selected Font
- F_EnumConverter : Genric enum converter to integer EnumIntConverter and string EnumStrConverter
- F_MathTools : [DotNet] float equal by specified value and float.Epsilon
- F_SpreadSheetLoader :
- load a tab base table to List< string [] >.
- F_StateMachine : State machine with recording time and calling transition methods.
- F_SystemDateTime : [DotNet] Time convertion from Date(-62135596800000) to System.DateTime
- F_Timer : count down timer CountDownTimer with functionalities of Active(), Rewind(), Pospone(), ElapsedTime(), RemainingTime()
- Platform(iOS&Android)
- F_PlatformString: Conversation between NSString* and char* _String in iOS
- F_Clipboard: Clip and paste between clipboard (iOS by UIPasteboard, Android by android.content.ClipData.)
- F_PlayerSettingTools: project setting tools, set UnityEditor.PlayerSettings.bundleVersion, and short vertion of iOS by CFBundleShortVersionString
An utility for NGUI (need to depend on NGUI plugin)
- DisplayFPS.cs : use UILabel to display a average/min/max FPS of Time.deltaTime.
- NGUIPanelHelper.cs : Use NGUIUICollector to collect UI component and update them.
- NGUIUICollector.cs : To collect UILabel and UISprite in dictionary.
- NGUIInvokeButton.cs : As OnClick() has been called, call the OnClick() of specified UIButton.
- OnEscapeInvokeNGUIButtons.cs : Vis KeyCode.Escapem calling OnClick() to a button by a stack with push/pop.
- SetNGUILocalization and NGUISetLocalization.cs : set Localization.language.
- ClickOpenFacebookApp.cs : OnClick() to open facebook with checking app existence.
- CoordinateTools.cs : Update2DFrom3DWorldPos() Coordinate calculation from 2d to 3d.
- DontDestroyGameObject.cs : Automatically set not destroy game object at beginning by using GameObject.DontDestroyOnLoad()
- OnClickChangeScene.cs : By OnClick() to change scene by UnityEngine.SceneManagement.SceneManager.LoadScene()
- OnClickOpenBrower.cs : By OnClick() to open browswer, support web player, WebGL player, and other platforms.
- OnDoubleEscapeLeaveGame.cs : double escape leaving game by Application.Quit().
- OnEscapeLeaveGame.cs : Chheck pressing escape(KeyCode.Escape) to leave game by Application.Quit().
- UnityFind.cs : find gameobject and component under gameobject.
- WaitSecChangeScene.cs : wait seconds and change scene by using UnityEngine.SceneManagement.SceneManager.LoadScene()
- A console project which generates C# class by a definition file.
- Export SimpleJSONHelper to parse from SimpleJSON.JSONNode to class.
- Export a SeqOperatorSimpleJSON from a collector of SeqOperatorBase
Class:DataClass
Protocol:DataController
int a
string b
float c
- Execute file.
- Parse csv file to JSON structure array.
- (need to logon google account to access file)
- Execute file.
- Load google spreed sheet to a JSON file.
- Execute file.
- Benchmark of performance of several C# compatible JSON methods
- Execute file.
- An implementation of Conversation Manager.
- need to depend on Unity Test Environment
- A Test of F_SystemDateTime.