コード例 #1
0
    private void MakeBrickMan()
    {
        int[] array = null;
        switch (RoomManager.Instance.WeaponOption)
        {
        case 2:
            array = new int[1];
            break;

        case 1:
            array = new int[2]
            {
                0,
                1
            };
            break;

        default:
            array = new int[4]
            {
                0,
                2,
                1,
                3
            };
            break;
        }
        if (null != me)
        {
            EquipCoordinator component = me.GetComponent <EquipCoordinator>();
            if (null != component)
            {
                component.ResetWeaponOnly(array);
            }
            if (null != localController)
            {
                localController.Cure();
            }
        }
    }