Skip to content

Instantly share code, notes, and snippets.

View iriyaakigawa's full-sized avatar

Iriya Akigawa iriyaakigawa

  • Japan
View GitHub Profile
@iriyaakigawa
iriyaakigawa / foreachSample
Created May 17, 2019 03:03
Find the sum and average with foreach.
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class myscript : MonoBehaviour {
public Text text;
// Use this for initialization
void Start(){
@iriyaakigawa
iriyaakigawa / Increment operator Sample
Created May 17, 2019 02:08
Increment operator Both are the same.
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class myscript : MonoBehaviour {
public Text text;
// Use this for initialization
void Start() {
@iriyaakigawa
iriyaakigawa / Array Sample
Last active May 17, 2019 02:13
Array Sample
public class test{
public static void Main()
{
string[] arr = {"Have","a","nice day!"};
string s = arr[0] + " " + arr[1] + " " + arr[2];
System.Console.WriteLine(s);
}
}
@iriyaakigawa
iriyaakigawa / TEST
Last active May 4, 2019 13:55
Test
This is test text. Thank you.
これはテスト用テキストです。ありがとうございます。