コード例 #1
0
ファイル: Event.cs プロジェクト: wlsvy/2018_PlumJam
 void Apply_Explain_text_To_event()
 {
     Club_Merge.Get_Explain_Text("동아리가 합쳐졌다!");
     Club_Closing.Get_Explain_Text("동아리가 폐쇄되었다 ㅠㅠ");
     Get_Other_Club.Get_Explain_Text("다른 동아리가 우리에게 합쳐졌다");
     Nitpicking_From_Dep_Office.Get_Explain_Text("과사에서 청소하라고 잔소리한다");
     Black_Out.Get_Explain_Text("미래관이 정전되어서 실습실 컴퓨터를 사용할 수가 없다");
     WorkShop.Get_Explain_Text("컴퓨터공학과 동아리 워크숍을 진행했다");
     Exam_Period.Get_Explain_Text("시험기간이 찾아왔다");
 }
コード例 #2
0
ファイル: Event.cs プロジェクト: wlsvy/2018_PlumJam
    //[Header("조정해야할 변수")]
    //[SerializeField]

    //초기화
    private void Awake()
    {
        //이름, 이벤트 색인 넘버, 자금, 인원, 평판, 행복도, 학습도, 참여도
        Club_Merge.Get_Data("동아리 병합", 0, 0, 0, 1, 0, 1, 1);
        Club_Closing.Get_Data("동아리 폐쇄", 1, 0, 0, -1, 0, 0, 0);
        Get_Other_Club.Get_Data("타 동아리 흡수", 2, 0, 1, 0, 0, 1, 1);
        Nitpicking_From_Dep_Office.Get_Data("과사의 잔소리", 3, 0, 0, 0, -1, 0, 0);
        Black_Out.Get_Data("미래관 정전", 4, 0, 0, 0, -1, -1, 0);
        WorkShop.Get_Data("동아리 워크샵", 5, 1, 0, 1, 0, 0, 0);
        Exam_Period.Get_Data("시험기간", 6, 0, 0, 1, -1, 1, 1);

        Apply_Explain_text_To_event();
        Apply_Choice_Event_Property();

        all_Event_Property.Add(Club_Merge);
        all_Event_Property.Add(Club_Closing);
        all_Event_Property.Add(Get_Other_Club);
        all_Event_Property.Add(Nitpicking_From_Dep_Office);
        all_Event_Property.Add(Black_Out);
        all_Event_Property.Add(WorkShop);
        all_Event_Property.Add(Exam_Period);
    }