Exemple #1
0
        public static void LoadToObject(Component game, ref OutLineData dat)
        {
            var a = game.GetComponent <Outline>();

            if (a == null)
            {
                return;
            }
            a.effectColor     = dat.effectColor;
            a.effectDistance  = dat.effectDistance;
            a.useGraphicAlpha = dat.useGraphicAlpha;
            a.enabled         = true;
        }
Exemple #2
0
 public unsafe override void Load(FakeStruct fake)
 {
     data = *(OutLineData *)fake.ip;
 }