Skip to content

XJINE/Unity_ActiveStateManager

Repository files navigation

Unity_ActiveStateManager

Manage objects active state.

Import to Your Project

You can import this asset from UnityPackage.

Dependencies

You have to import following assets to use this asset.

How to Use

  1. Add ActiveStateManagerTarget into objects.
  2. Add some key if you need.
  3. Call some function from ActiveStateManager.
ActiveStateManager.Instance.ActivateObjects();
ActiveStateManager.Instance.InactivateObjects();

If you add some keys in ActiveStateManagerTarget, you could control the objects with the key.

ActiveStateManager.Instance.ActivateObjects("Round");
ActiveStateManager.Instance.InactivateObjects("Round");

In this case, "Round" is key.

About

Manage objects active state.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages