-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSnakeScript.cs
More file actions
34 lines (25 loc) · 730 Bytes
/
Copy pathSnakeScript.cs
File metadata and controls
34 lines (25 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using UnityEngine;
using System.Collections;
/// <summary>
/// This script will determine create and manage each piece of the snake.
/// It will also contain the positions that each of the snakes must take utilising an array.
/// The script will be attached to the SnakeManager GameObject in the Inspector.
///
/// This script is accessed by the SnakePiece script
///
/// Jonny Elliott 2014
/// </summary>
public class SnakeScript : MonoBehaviour {
// Variables start_____________________
public int numberOfSnakes = 0;
public bool makeNewSnake = false;
// Variables end_______________________
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
}
}