void OnEnable() { m_TransformsHash = 0; CacheCurrentSprite(); OnEnableBatch(); m_DeformedVertices = new DeformVerticesBuffer(DeformVerticesBuffer.k_DefaultBufferSize); }
void OnEnable() { CacheValidFlag(); UpdateSpriteDeform(); OnEnableBatch(); m_DeformedVertices = new DeformVerticesBuffer(DeformVerticesBuffer.k_DefaultBufferSize); }
void OnEnable() { m_SpriteRenderer = GetComponent <SpriteRenderer>(); m_TransformsHash = 0; CacheCurrentSprite(); OnEnableBatch(); m_DeformedVertices = new DeformVerticesBuffer(DeformVerticesBuffer.k_DefaultBufferSize); }