/// <summary> /// Initializes this instance based on the specified stock body. /// </summary> /// <param name="stockBody">The stock body.</param> public void Initialize(CommNetBody stockBody) { this.body = stockBody.GetComponentInChildren <CelestialBody>(); //this.occluder is initalised by OnNetworkInitialized() later this.Initialize(); }
public void copyOf(CommNetBody stockBody) { CNCLog.Verbose("CommNet Body '{0}' added", stockBody.name); this.body = stockBody.GetComponentInChildren <CelestialBody>(); //this.occluder is initalised by OnNetworkInitialized() later }
public void CopyOf(CommNetBody stockBody) { Lib.Verbose("CommNet Body '{0}' added", stockBody.name); body = stockBody.GetComponentInChildren <CelestialBody>(); }