1.0.4 • Published 7 years ago

@umm/accessor_utility_monobehaviour v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

What?

  • MonoBehaviour に対して型ベースのアクセサ (もどき) を提供します

Why?

  • 個別のアクセサモジュールのための基底クラスを分離したかったので作りました

Install

$ npm install github:umm-projects/accessor_utility_monobehaviour.git

Usage

using UnityEngine;
using AccessorUtility;

public class Hoge : MonoBehaviour {

    private class Fuga {}

    public void Start() {
        Fuga fuga = new Fuga();
        this.PropertySet(fuga);
        Fuga fuga2 = this.PropertyGet<Fuga>();
        this.PropertyRemove<Fuga>();
    }

}

License

Copyright (c) 2017 Tetsuya Mori

Released under the MIT license, see LICENSE.txt