Ejemplo n.º 1
0
		public override void OnDelete() {
			base.OnDelete();
			if(AttachedItem != null){
				ColorCycling.Remove(AttachedItem);
				AttachedItem.Hue = m_OriginalHue;
			}
		}
Ejemplo n.º 2
0
		private void UpdateColorCycling(){
			if(AttachedItem != null){
				AttachedItem.Hue = m_HueBegin;
				ColorCycling.Add(AttachedItem,m_HueBegin,m_HueEnd,m_Frequency,m_CycleType);
			}
		}
Ejemplo n.º 3
0
 private void UpdateColorCycling()
 {
     Hue = m_HueBegin;
     ColorCycling.Add(this, m_HueBegin, m_HueEnd, m_Frequency, m_CycleType);
 }