Quattro::​SortingGroupAutoSet
MonoBehaviour
Quattro::​SortingGroupAutoSet

class:/TYPE/UnityEngine.Quattro.SortingGroupAutoSet/UnityExtension:component to add to your playerserverplayernpc etc. it creates a sorting group, and sync it every frame to sync with quattro normal rendering, /, can be loaded from an assetbundle using Quattro::SortingGroupAutoSet::createfromassetbundle(bundlename,prefabname) /

Parent

MonoBehaviour

Functions
quattro::​sortinggroupautoset::​create
static UnityEngine.Quattro.SortingGroupAutoSet Create ()

Constructor replaces new;

Returns

UnityEngine.Quattro.SortingGroupAutoSet

quattro::​sortinggroupautoset::​fromassetbundle
static UnityEngine.Quattro.SortingGroupAutoSet CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Quattro.SortingGroupAutoSet

set
System.Void Set(
System.Int32 index,
System.Boolean onTop
)

UnityExtension:order <0 before graal, >0 between graal rendered things ( put 999 for after for ex), onTop or normal render queue,

Parameters
index
System.Int32

no documentation

onTop
System.Boolean

no documentation

Returns

System.Void

unset
System.Void Unset()

UnityExtension:do not sync the sortinggroup with quattro anymore,

Returns

System.Void