0.1.1 • Published 3 years ago

vanilla.plus.dataassets v0.1.1

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Vanilla MetaData

Vanilla MetaData is part of the Vanilla For Unity SDK.

Vanilla Data is a collection of ScriptableObject-based data classes, created with the goal of breaking important values out of your scenes or static scripting. Things like your players health or a reference to your main camera can float freely with ScriptableObject data assets allowing universal access.

Vanilla Data was heavily inspired by the Unite Austin 2017 demonstration by Ryan Hipple from Schell Games.

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 enter

name:      Vanilla Plus
url:       http://35.231.76.113:4873
Scopes:    com.vanilla.plus

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