public void Awake() { if (ThisHasBeenDuplicated() == true) { starfieldMaterial = SGT_Helper.CloneObject(starfieldMaterial); meshes = SGT_Helper.CloneObjects(meshes); } }
public void Awake() { if (ThisHasBeenDuplicated("ringMaterial", "generatedMeshes") == true) { ringMaterial = SGT_Helper.CloneObject(ringMaterial); generatedMeshes = SGT_Helper.CloneObjects(generatedMeshes); } }
public void Awake() { if (ThisHasBeenDuplicated("atmosphereMaterial", "surfaceMaterials") == true) { surfaceMaterials = SGT_Helper.CloneObjects(surfaceMaterials); atmosphereMaterial = SGT_Helper.CloneObject(atmosphereMaterial); atmosphereTexture = SGT_Helper.CloneObject(atmosphereTexture); atmosphereSurfaceTexture = SGT_Helper.CloneObject(atmosphereSurfaceTexture); } }
public void Awake() { if (ThisHasBeenDuplicated() == true) { surfaceLightingTexture = SGT_Helper.CloneObject(surfaceLightingTexture); atmosphereTexture = SGT_Helper.CloneObject(atmosphereTexture); atmosphereSurfaceTexture = SGT_Helper.CloneObject(atmosphereSurfaceTexture); cloudsLightingTexture = SGT_Helper.CloneObject(cloudsLightingTexture); surfaceMaterials = SGT_Helper.CloneObjects(surfaceMaterials); atmosphereMaterial = SGT_Helper.CloneObject(atmosphereMaterial); cloudsMaterials = SGT_Helper.CloneObjects(cloudsMaterials); } }
public void Awake() { if (ThisHasBeenDuplicated("starfieldMaterial", "meshes") == true) { starfieldMaterial = SGT_Helper.CloneObject(starfieldMaterial); meshes = SGT_Helper.CloneObjects(meshes); if (packer != null) { packer.Duplicated(); } } }