메인 씬, Boat 변경
This commit is contained in:
parent
71e56b558b
commit
1b2c12ec4e
File diff suppressed because it is too large
Load Diff
@ -22,7 +22,7 @@ namespace BlueWaterProject
|
|||||||
public Vector3 Target { get; set; }
|
public Vector3 Target { get; set; }
|
||||||
public string CardIndex { get; set; }
|
public string CardIndex { get; set; }
|
||||||
|
|
||||||
public delegate void LandedEventHandler(string cardIndex, AttackerType attackerType, Vector3 assignPos);
|
public delegate void LandedEventHandler(string cardIndex, Vector3 assignPos);
|
||||||
public event LandedEventHandler OnLanded;
|
public event LandedEventHandler OnLanded;
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
@ -68,7 +68,7 @@ namespace BlueWaterProject
|
|||||||
lineRenderer.enabled = false;
|
lineRenderer.enabled = false;
|
||||||
if (draw != null) StopCoroutine(draw);
|
if (draw != null) StopCoroutine(draw);
|
||||||
|
|
||||||
OnLanded?.Invoke(CardIndex, AttackerType.OFFENSE, Target);
|
OnLanded?.Invoke(CardIndex, Target);
|
||||||
Destroy(gameObject);
|
Destroy(gameObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user