Esempio n. 1
0
        public void UpdateSameRace()
        {
#if SUPER_LOGGING
            Debug.Log("UpdateSameRace on DynamicCharacterAvatar: " + gameObject.name);
#endif
            if (animationController != null)
            {
                umaData.animationController = animationController;
            }
            umaData.Dirty(true, true, true);
        }
Esempio n. 2
0
 public void SetColor(int channel, Color32 color)
 {
     if (useAdvancedMasks)
     {
         EnsureChannels(channel + 1);
         channelMask[channel] = color;
     }
     else if (channel == 0)
     {
         this.color = color;
     }
     else
     {
         AllocateAdvancedMasks();
         EnsureChannels(channel + 1);
         channelMask[channel] = color;
     }
     if (umaData != null)
     {
         umaData.Dirty(false, true, false);
     }
 }
Esempio n. 3
0
 public void UpdateSameRace()
 {
     umaData.Dirty(true, true, true);
 }