mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Start of inheriting Materials, create material instance for getMaterial from scripts
This commit is contained in:
@@ -39,6 +39,10 @@ public class SpriteRenderer : Component
|
||||
/// <summary>
|
||||
/// Gets or sets the Material of this SpriteRenderer.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If you get the <see cref="Material"/> and it is not yet a runtime-instance,
|
||||
/// a new runtime-instance will be created and returned in its place.
|
||||
/// </remarks>
|
||||
public Material Material
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user