Skip to content

Instantly share code, notes, and snippets.

@curious-username
Last active December 1, 2021 04:27
Show Gist options
  • Save curious-username/83ae68fe0a75797133539150b3582cdf to your computer and use it in GitHub Desktop.
Save curious-username/83ae68fe0a75797133539150b3582cdf to your computer and use it in GitHub Desktop.
Implementation of enemy missile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyMissle : MonoBehaviour
{
private GameObject _playerLocation;
[SerializeField]
private GameObject _explosion;
private float _speed = 3.5f;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment