//void Set_Sun_Parameters(int x, int y){ //Sun.transform.position = new Vector3(-5f,x,-5f); //Sun_Data.range = x * 3; //Sun_Data.intensity = Sun_Data.range/10; //} void Awake() { //Set parameters before anything else; //Parse first from file before calling Generate Map. //TO DO //Test Colors *matches units on field right now* Color P1Color = new Color(0.0352941f, 0.0747778f, 0.8313726f, 1.0f); Color P2Color = new Color(1.0f, 0.0f, 0.8593202f, 1.0f); //Add Players //TO DO Recieves from what would be the menu or some other stuff before the game scene and load stuff like color rpeference player name, or other junk data.Add_Player(P1Color, "Rylander"); data.Add_Player(P2Color, "Not Rylader"); data.Day_Number = 1; data.Max_Players = 2; data.Players_Turn = 1; //Set Active Map data.Set_Active_Map(Map_List.test_map_1); //Call Function to Place Tiles into Map Generate_Map(data.Map, data.Map_Size); }
//void Set_Sun_Parameters(int x, int y){ //Sun.transform.position = new Vector3(-5f,x,-5f); //Sun_Data.range = x * 3; //Sun_Data.intensity = Sun_Data.range/10; //} void Awake() { data.stam = 20; //Set Active Map data.Set_Active_Map(Map_List.test_map_1); //Call Function to Place Tiles into Map Generate_Map(data.Map, data.Map_Size); }