Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
/ permanent Public archive

Provide permanent access to GameObject.

License

Notifications You must be signed in to change notification settings

umm/permanent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What?

  • 永続 GameObject を束ねる親として Hierarchy の上位に配置する GameObject
  • このクラス単体で使うコトは殆どないかな?

Why?

  • Garbage Collection の際に親 GameObject を破棄するだけで済むようにしたかった

Install

yarn add "umm/permanent#^1.0.0"

Usage

public class Hoge : MonoBehaviour {

    public void Start() {
        Permanent.Add(this);
    }

}

License

Copyright (c) 2017 Tetsuya Mori

Released under the MIT license, see LICENSE.txt

About

Provide permanent access to GameObject.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages