Socket
Socket
Sign inDemoInstall

@umm/accessor_utility_monobehaviour

Package Overview
Dependencies
17
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @umm/accessor_utility_monobehaviour

Provide property handle method to MonoBehaviour


Version published
Maintainers
6
Created

Readme

Source

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

FAQs

Last updated on 11 Sep 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc