Example #1
0
 void Awake()
 {
     ista = GetComponent <ImageSequenceTextureArray>();
     if (useRandom)
     {
         selectedDigit   = Random.Range(0, newTextureRandom.Length);
         selectedTexture = newTextureRandom[selectedDigit];
     }
     else
     {
         selectedTexture = newTexture;
     }
 }
Example #2
0
 public void Init()
 {
     Debug.Log("set up in ImageSequenceTextureArray test");
     dummy   = new GameObject();
     testObj = dummy.AddComponent <ImageSequenceTextureArray>();
 }