public void SetBodyProperties(StarSystemManager.BodyProperties props) { tidalLock = props.tidalLock; periodInMinutes = props.periodInMinutes; Setup(); }
public void AddBody(GameObject body, StarSystemManager.BodyProperties props) { bodyScript.SetBodyProperties(props); body.transform.parent = bodyContainer; }