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