public static SkinData From(ISkinData from) { var to = new SkinData(); // We have to leave this here, Unity's il2cpp compiler cannot autodetect this. :( // ReSharper disable once RedundantTypeArgumentsOfMethod from.CopyProperties(to); return(to); }
public static Skin From(SkinData skinData) { return(new Skin(skinData)); }
private Skin(SkinData skinData) { Data = skinData; }