public override void OnInspectorGUI() { ICECreatureRangedWeapon _target = DrawEntityHeader <ICECreatureRangedWeapon>(); DrawRangedWeaponContent(_target); DrawFooter(_target); }
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); }