vanilla.plus.core

0.2.0 • Public • Published

Vanilla Core

Vanilla Core is part of the Vanilla For Unity SDK.

Vanilla Core is a very basic and somewhat messy Unity library, consistently updated for compatibility since 2017 to match Unity's development patterns.

This package contains Vanilla Core which includes a library of basic extension methods for common Unity interactions.

Installation

Vanilla 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 enter

name:      Vanilla
url:       http://35.231.76.113:4873
Scopes:    vanilla

Usage

Instead of beginning new classes from MonoBehaviour, you can try the inherited default class VanillaBehaviour.

public class MyNewClass : VanillaBehaviour 
{

	public Text tapCountText;

	void Start() => tapCountText = GetComponentDynamic<Text>(GetComponentStyle.InParent);

	void Update() 
	{
		if (!AnyTouchBegan()) return;

		Log("Can't you hear me knockin'?");
	}

}

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:

Gmail

Author

Lucas Hehir

License

The Unlicense

Readme

Keywords

none

Package Sidebar

Install

npm i vanilla.plus.core

Weekly Downloads

2

Version

0.2.0

License

none

Unpacked Size

412 kB

Total Files

93

Last publish

Collaborators

  • vanilla-lucas