C# Class AnimateTiledTextureOnTrail, PSUnity

Inheritance: MonoBehaviour
Mostrar archivo Open project: MickyBalladelli/PSUnity

Public Properties

Property Type Description
_buffer Vector2
_columns int
_disableUponCompletion bool
_enableEvents bool
_framesPerSecond float
_newMaterialInstance bool
_offset Vector2
_playOnEnable bool
_playOnce bool
_rows int
_scale Vector2

Public Methods

Method Description
ChangeMaterial ( Material newMaterial, bool newInstance ) : void
Play ( ) : void
RegisterCallback ( VoidEvent cbFunction ) : void
UnRegisterCallback ( VoidEvent cbFunction ) : void

Private Methods

Method Description
ApplyOffset ( ) : void
Awake ( ) : void
CalcTextureSize ( ) : void
HandleCallbacks ( List cbList ) : void
OnDestroy ( ) : void
OnEnable ( ) : void
updateTiling ( ) : IEnumerator

Method Details

ChangeMaterial() public method

public ChangeMaterial ( Material newMaterial, bool newInstance ) : void
newMaterial Material
newInstance bool
return void

Play() public method

public Play ( ) : void
return void

RegisterCallback() public method

public RegisterCallback ( VoidEvent cbFunction ) : void
cbFunction VoidEvent
return void

UnRegisterCallback() public method

public UnRegisterCallback ( VoidEvent cbFunction ) : void
cbFunction VoidEvent
return void

Property Details

_buffer public_oe property

public Vector2 _buffer
return Vector2

_columns public_oe property

public int _columns
return int

_disableUponCompletion public_oe property

public bool _disableUponCompletion
return bool

_enableEvents public_oe property

public bool _enableEvents
return bool

_framesPerSecond public_oe property

public float _framesPerSecond
return float

_newMaterialInstance public_oe property

public bool _newMaterialInstance
return bool

_offset public_oe property

public Vector2 _offset
return Vector2

_playOnEnable public_oe property

public bool _playOnEnable
return bool

_playOnce public_oe property

public bool _playOnce
return bool

_rows public_oe property

public int _rows
return int

_scale public_oe property

public Vector2 _scale
return Vector2