private void OnMissileDestGround() { CreateExplosion(); CreateCrater(); CreateCraterTexture(); if (playerControl != null) { playerControl.CallTargetChangedEvent(); } }
public void CmdAimAtTarget(ParabolaData data) { if (!playerControl.enabled) { Debug.Log("Command TargetChanged FAILED: PlayerControl is disabled now"); return; } playerControl.FireTarget = data.targetPos; playerControl.CallTargetChangedEvent(); }