Last active
February 10, 2018 02:20
-
-
Save lynxelia/d103dcba61ca7114110cfa88614a2fb2 to your computer and use it in GitHub Desktop.
Example of a class that has an UnityEngine.Object field reference that will not be garbage collected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ReferenceHolder : MonoBehaviour | |
{ | |
public Sprite m_SpriteValue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment