/// <summary> /// Add retain with check null this sprite collection. /// </summary> public static void AddRetain(this tk2dSpriteCollectionData platfrom, MonoBehaviour sender) { if (platfrom) { platfrom.AddRetainCount(sender); } }