SetDefaults() public method

public SetDefaults ( ) : void
return void
Ejemplo n.º 1
0
        internal void SetupMount(Mount.MountData mountData)
        {
            ModMountData newMountData = (ModMountData)MemberwiseClone();

            newMountData.mountData = mountData;
            mountData.modMountData = newMountData;
            newMountData.mod       = mod;
            newMountData.SetDefaults();
        }
Ejemplo n.º 2
0
        internal void SetupMount(Mount.MountData mountData)
        {
            ModMountData newMountData = (ModMountData)Activator.CreateInstance(GetType());

            newMountData.mountData = mountData;
            mountData.modMountData = newMountData;
            newMountData.mod       = mod;
            newMountData.SetDefaults();
        }