Heathen UI Behaviour

A better more friendly MonoBehaviour experience ... Now with RectTransform

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 as RectTransform option.

Members

Tags

public List<ScriptableObject> tags;

Self Transform

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

Last updated