public void copyOf(CommNetHome stockHome) { CNCLog.Verbose("Stock CommNet Home '{0}' added", stockHome.nodeName); this.ID = stockHome.nodeName; this.nodeName = stockHome.nodeName; this.displaynodeName = Localizer.Format(stockHome.displaynodeName); this.nodeTransform = stockHome.nodeTransform; this.isKSC = stockHome.isKSC; this.body = stockHome.GetComponentInParent <CelestialBody>(); //comm, lat, alt, lon are initialised by CreateNode() later }
public void CopyOf(CommNetHome stockHome) { Lib.Verbose("CommNet Home '{0}' added", stockHome.nodeName); ID = stockHome.nodeName; nodeName = stockHome.nodeName; displaynodeName = Localizer.Format(stockHome.displaynodeName); nodeTransform = stockHome.nodeTransform; isKSC = stockHome.isKSC; body = stockHome.GetComponentInParent <CelestialBody>(); groundStationHeadline = new GUIStyle(HighLogic.Skin.label) { fontSize = 12, normal = { textColor = Color.yellow } }; loadCompleted = true; }
public void copyOf(CommNetHome stockHome) { CNCLog.Verbose("CommNet Home '{0}' added", stockHome.nodeName); this.ID = stockHome.nodeName; this.nodeName = stockHome.nodeName; this.displaynodeName = Localizer.Format(stockHome.displaynodeName); this.nodeTransform = stockHome.nodeTransform; this.isKSC = stockHome.isKSC; this.body = stockHome.GetComponentInParent <CelestialBody>(); //comm, lat, alt, lon are initialised by CreateNode() later groundStationHeadline = new GUIStyle(HighLogic.Skin.label) { fontSize = 12, normal = { textColor = Color.yellow } }; loadCompleted = true; }