コード例 #1
0
        public virtual void DrawFlashlightContent(ICECreatureFlashlight _target)
        {
            if (_target == null)
            {
                return;
            }

            DrawItemContent(_target);

            CreatureObjectEditor.DrawFlashlightObject(_target, _target.Flashlight, m_HeaderType);
        }
コード例 #2
0
        public virtual void DrawRangedWeaponContent(ICECreatureRangedWeapon _target)
        {
            if (_target == null)
            {
                return;
            }

            CreatureObjectEditor.DrawRangedWeaponObject(_target, _target.Weapon, m_HeaderType, Info.PRIMARY_WEAPON, "Primary Weapon");
            CreatureObjectEditor.DrawRangedWeaponObject(_target, _target.SecondaryWeapon, m_HeaderType, Info.SECONDARY_WEAPON, "Secondary Weapon");

            // WEAPON LASER BEAM
            CreatureObjectEditor.DrawLaserObject(_target, _target.Laser, m_HeaderType, Info.LASER);

            // WEAPON FLASHLIGHT
            CreatureObjectEditor.DrawFlashlightObject(_target, _target.Flashlight, m_HeaderType);

            // WEAPON SPECIFIC
            DrawWeaponContent(_target);
        }