🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@umm/animator_accessor

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umm/animator_accessor

Provide accessor for Animator

1.0.5
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
6
Weekly downloads
 
Created
Source

What?

  • this.Animator() で参照出来る擬似的なアクセサを提供します

Why?

  • 毎回アクセサを書くのがシンドイので

Install

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

Usage

using UnityEngine;
using AccessorUtility;

public class Hoge : MonoBehaviour, IAnimatorAccessor {

    public void Start() {
        this.Animator().SetTrigger("Fuga");
    }

}
  • AccessorUtility.IAnimatorAccessor を実装します
  • 拡張メソッドとして Animator() が提供されます

License

Copyright (c) 2017 Tetsuya Mori

Released under the MIT license, see LICENSE.txt

FAQs

Package last updated on 11 Sep 2017

Did you know?

Socket

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