Answers for "unity disable sprite renderer c#"

C#
1

how to turn off sprite renderer in unity

public Renderer rend;

    void Start()
    {
        rend = GetComponent<Renderer>();
        rend.enabled = true;
    }
Posted by: Guest on November-07-2020

Code answers related to "unity disable sprite renderer c#"

C# Answers by Framework

Browse Popular Code Answers by Language