示例#1
0
    private void Start()
    {
        var objs = GameObjectExtensions.FindObjectOfInterface <IFResultStartEvent>();

        StartEventList.AddRange(objs);

        for (int i = 0; i < StartEventList.Count; i++)
        {
            StartEventList[i].StartEvent();
        }
    }
    private void Start()
    {
        var objs = GameObjectExtensions.FindObjectOfInterface <IFIntroStartEvent>();

        StartEventList.AddRange(objs);

        for (int i = 0; i < StartEventList.Count; i++)
        {
            StartEventList[i].StartEvent();
        }

        SoundManager.Instance.PlayBGM(SoundManager.BGMType.TITLE);
    }