Skip to content

ClassWarhammer/WuxingogoExtention

Repository files navigation

WuxingogoExtension

Intro


This repository includes full source code of the WuxingogoExtension libraries。

##Features

  • Export UGUI to CocosUI(3.x).
  • Unity Editor support: Reflection Method, Field and Property on the ReflectionWindow.
  • Unity Editor support: Create AssetBundle extension (Unity version 4.x).
  • Unity Editor Extension: Custom Attribute Collection(Inspector Drawer).
  • Unity Editor support: Quick set unity prefs.
  • Unity Editor support: Generated CSharpCode(CodeDom).
  • Unity Editor support: Finite-State-Machine and Editor.
  • Unity Editor support: Hierachy Extension.
  • Including a GameManager to easily manage your game.(inherit ScriptableObject)

##Usage

Copy WuxingogoExtension folder to your $project/Assets.

Command Line environment:

Windows : msbuild, python2.7(double click build.bat)

OSX : xbuild, python2.7(run build.sh)


####XAssetBundleWindow. (Unity Version 4.X)

github

####XAssetBundleWindow. (Unity Version 5.X)

7Z Compress & Encrypt AssetsBundle

Incremental update in one file

github

This repository move to https://github.com/wuxingogo/GameUpdaterTest

####XBehaviour Window (Finite-State-Machine)

Finite-State-Machine Window.

github

This repository move to https://github.com/wuxingogo/Unity-BTFsm

####XCodeGenerateEditor:

Save Template

Generate Namespace,Field, Method, Class, Comment, Attribute, Property

TODO LIST:

Compile Code From XReflectionWindow.

A visual window to generate csharp code.

github

####XReflectionWindow:

github

3RD-Attribute

Note: This script must inherit from XMonoBehaviour.

    [X]     // Create button in the Inspector
    public void MethodHandleGo(GameObject go)
    {
        XLogger.Log("Test Method");
    }
    [X]     // Reflection this property in the Inspector
    public int Amount
    {
        get{
            return 0;
        }
    }
    private int amountChange = 0;
    [X]     
    public int AmountChange
    {
        get{
            return amountChange;
        }
        set{
            amountChange = value;
        }
    }
    [Disable]   // Disable change this SerializeField
    public int Count = 0;
    
    [X]
    public Dictionary<int, string> mapKeyDict = new Dictionary<int, string>(){
        {1,    "1"},
        {33,   "22"},
        {222,  "32131"}
    };
    [SerializeField]
    private List<string> list = new List<string>()
    {
        "stack1",
        "stack2",
        "stack3"
    };
    [X]
    public Queue<string> queue;
    [X]
    public Stack stack;

    void Reset()
    {
        stack = new Stack (list);
        queue = new Queue<string>(list);
    }

github

Hierachy Extension

Quick toogle and lock.

github

Etc.

##Copyright, License & Contributors

MIT license

Contcat:agdtstudio@gmail.com

To be continue!

Releases

No releases published

Packages

No packages published