Heathen Behaviour

A better more friendly MonoBehaviour experience

Like what your seeing?

Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!

Introduction

This can be used in place of MonoBehaviour and adds support for Scriptable Tags and Heathen's SelfTransform which offers a more performant approch to get a componenets root transform than the standard unity GameObject.transform option.

Members

Tags

public List<ScriptableObject> tags;

Self Transform

private Transform _selfTransfrom;
public Transform SelfTransfrom
{
    get
    {
        if(_selfTransform == null)
            _selfTransfrom = GetComponenet<Transfrom>();
        
        return _selfTrasnform;
    }
}

Last updated