add ckg
plantilla base para movimiento básico
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class externalDamageProperties : MonoBehaviour
|
||||
{
|
||||
public eventParameters.eventToCallWithGameObject eventToSetDamageOwner;
|
||||
|
||||
public GameObject currentDamageOwner;
|
||||
|
||||
public void setDamageOwner (GameObject newOwner)
|
||||
{
|
||||
currentDamageOwner = newOwner;
|
||||
|
||||
eventToSetDamageOwner.Invoke (currentDamageOwner);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user