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