/// <summary> /// Sets up the global instance and spawns the inital set of jellies /// </summary> void Awake() { if (Instance == null) Instance = this; jellies = new JellyRecruit[numJellies]; createInitalJellies (); }
private JellyRecruit[] jellies; //the array of jelly recruits that float around the user /// <summary> /// Sets up the global instance and spawns the inital set of jellies /// </summary> void Awake() { if (Instance == null) { Instance = this; } jellies = new JellyRecruit[numJellies]; createInitalJellies(); }