Files
FueraDeEscala/Assets/Game Kit Controller/Scripts/Stats System/Objects Stats/objectStatsSystemOnMeleeWeapons.cs

18 lines
510 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class objectStatsSystemOnMeleeWeapons : objectStatsSystem
{
public override void getMainCharacterGameObject ()
{
grabPhysicalObjectMeleeAttackSystem currentGrabPhysicalObjectMeleeAttackSystem = GetComponent<grabPhysicalObjectMeleeAttackSystem> ();
if (currentGrabPhysicalObjectMeleeAttackSystem != null) {
mainCharacterGameObject = currentGrabPhysicalObjectMeleeAttackSystem.getCurrentCharacter ();
}
}
}