Game Development Reference
In-Depth Information
Check out the following screenshot for a reference of how that looks:
Alright! The base enemy object has now been set up. Let's start giving it some true
enemy potential! Make a new script called EnemyControllerScript , attach it to
the Enemy object, and make it look like the following code snippet:
using UnityEngine;
using System.Collections;
public class EnemyControllerScript : MonoBehaviour
{
public void switchDirections()
{
}
}
Yup, we're starting with the basics here. These enemies are going to be easier
than you think!
 
Search WWH ::




Custom Search