public void ImportDerivation() { string getit = ModuleHolder.SAVE_PATH + "/" + this.gameObject.name + "/" + this.gameObject.name + ModuleHolder.PATH_TAIL; storedModules = Resources.Load(getit) as ModuleHolder; if (storedModules != null) { storedModules.LoadModules(this); //Dont age the system, just build all the modulez } else { Debug.Log("No holder found"); } }
public void ImportDerivationAndProductions() { string getit = ModuleHolder.SAVE_PATH + "/" + this.gameObject.name + "/" + this.gameObject.name + ModuleHolder.PATH_TAIL; storedModules = Resources.Load(getit) as ModuleHolder; if (storedModules != null) { storedModules.LoadProductions(this); storedModules.LoadModules(this); //Dont age the system, just build all the modulez Turtle.TurtleAnalysis(0f); Maturity = MAX_MATURITY; } else { Debug.Log("No holder found"); } }