示例#1
0
 private void Send_Event_Signal(GameObject target, Simple_Event_Data_Property changing_Value_Struct)
 {
     target.GetComponent <Status>().Get_Fund_InOut(changing_Value_Struct.club_Fund);
     target.GetComponent <Status>().Get_Member_InOut(changing_Value_Struct.club_Member_num);
     target.GetComponent <Status>().Get_Reputateion_Change(changing_Value_Struct.club_Reputation);
     target.GetComponent <Status>().Get_Member_Status_Change_By_Addition(changing_Value_Struct.member_Happiness, changing_Value_Struct.member_Participation, changing_Value_Struct.member_Learning_Point);
 }
示例#2
0
    //public
    public void Get_Turn_Over_Signal()
    {
        int Randomly_Created_Value = Random_Event_Value_Create();

        if (Randomly_Created_Value <= 100)
        {
            Simple_Event_Data_Property Randomly_Created_Simple_Event = all_Event_Property[Randomly_Created_Value];
            Send_Event_Signal(plum, Randomly_Created_Simple_Event);
            //Event_Window.GetComponent<Event_Window>().Get_Turn_Over_Signal(Randomly_Created_Simple_Event);
        }
        else if (Randomly_Created_Value > 100 && Randomly_Created_Value <= 200)
        {
            Choice_Event_Data_Property Randomly_Created_Choice_Event = all_Choice_Event_Property[Randomly_Created_Value];
            //Choice_Event_Window.GetComponent<Choice_Event_window>().Get_Turn_Over_Signal(Randomly_Created_Choice_Event);
        }
    }