18 lines
510 B
C#
18 lines
510 B
C#
|
|
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 ();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|