npm.vanilla.plus Unity scoped package registry

vanilla.unity-extensions

Unity Extensions โ€” Vanilla Extensions is a collection of extension methods for all the data types and classes found in the Unity GameObject ecosystem.

latest 1.1.2 4 versions Unity 2020.2 token required

Install

# Unity: add the scoped registry, then Window > Package Manager > My Registries
# npm:
npm install vanilla.unity-extensions --registry=https://npm.vanilla.plus

Dependencies

Readme

Unity Extensions

Unity Extensions is part of the Vanilla Unity SDK.

Unity Extensions is a collection of extension methods for all the data types and classes found in the Unity GameObject ecosystem. The purpose is to offer a number of shorthand methods for common or useful behaviour.

Some examples include:


Installation

Vanilla Plus packages are installed through Unity's Package Manager using a scoped registry. Open your Unity Project of choice and select:

> Edit menu > Project settings > Package Manager > Scoped Registries > Plus button

Then add:

name: Vanilla Plus url: https://registry.npmjs.com Scopes: vanilla.plus


Usage

public class LovingParent : MonoBehaviour 
{

	void Start()
	{
		foreach (var c in transform.GetAllChildren()) 
		{
			Debug.Log($"I have a child and their name is [{c}]");
		}
	}

}

Contributing

Please don't. I have no idea what a pull request is and at this point I'm too afraid to ask.

If you hated this package, let me know.


Author

Lucas Hehir


License

The Unlicense

Versions

VersionPublishedDownload
1.1.2 latest 2024-06-06 tarball
1.1.1 2024-02-14 tarball
1.1.0 2023-11-09 tarball
1.0.0 2022-06-08 tarball