Example #1
0
		public void Return(Note o) {
			for (int i=0; i<count; i++) {
				if(_objsUsing[i] && _objs[i] == o) {
					o.Reset();
					o.gameObject.SetActive(false);
					_objsUsing[i] = false;
					return;
				}
			}

			GameObject.Destroy (o.gameObject);
		}
Example #2
0
		public void AssignNote(Note n) {
			_comingNotes.Add (n);
		}