This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Author: Kostas Sfikas | |
Date: March 2017 | |
Language: C# | |
Platform: Unity 5.5.0 f3 (personal edition) */ | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.Linq; //required for conversion of Lists to Arrays |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; //required inorder to convert list to array | |
using UnityEngine; | |
/* Source Code written by Kostas Sfikas, March 2017 | |
Tested with Unity 5.5.0 f3 Pesonal edition*/ | |
[RequireComponent(typeof(MeshFilter))] // making sure that the gameobject has a MeshFilter component | |
[RequireComponent(typeof(MeshRenderer))] // making sure that the gameobject has a MeshRenderer component |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Author: Kostas Sfikas | |
Date: April 2017 | |
Language: c# | |
Platform: Unity 5.5.0 f3 (personal edition) */ | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Github repo: Programmable Digital Synthesizers | |
Project name: Monk | |
Author: Kostas Sfikas | |
Date: April 2017 | |
*/ | |
// declare the array to hold the analog pins values | |
byte myArray[13]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Example use of events in c# | |
/// Author: Konstantinos Sfikas | |
/// Date: January 2019 | |
/// | |
/// In this example there are 10 event publishers and 1 event subscriber. | |
/// The event publishers are all instances of the NumberCounter class, |