public AasFadeEvent(int targetOpacity, int tickTimeMs, int changePerTick, FadeOutResult action) { TargetOpacity = targetOpacity; TickTimeMs = tickTimeMs; ChangePerTick = changePerTick; Action = action; }
public static void FadeTo(this GameObject obj, int goalOpacity, int timeTickMs, int fadeQuantum, FadeOutResult callback = FadeOutResult.None) { GameSystems.ObjFade.FadeTo(obj, goalOpacity, timeTickMs, fadeQuantum, callback); }