@umm/accessor_utility_monobehaviour

1.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @umm/accessor_utility_monobehaviour

Weekly Downloads

9

Version

1.0.4

License

MIT

Last publish

Collaborators

  • kidsstar_system
  • takyama
  • risacankidsstar
  • mkaya
  • hanage
  • fakestarbaby
  • monry