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; }
public unsafe override void Load(FakeStruct fake) { data = *(OutLineData *)fake.ip; }