This file contains hidden or 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 UnityEngine; | |
using System.Collections; | |
public class EndMonoBehaviourSample : EndMonoBehaviour | |
{ | |
private Hashtable table = new Hashtable(); | |
private void Start() | |
{ | |
iTween.MoveTo(gameObject, iTween.Hash("x", 20, "looptype", iTween.LoopType.loop)); |
This file contains hidden or 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 UnityEngine; | |
using System.Collections; | |
public class ExcelDataTest : MonoBehaviour | |
{ | |
void Start () | |
{ | |
var entityItem = Resources.Load("ExcelData/param1") as Entity_item1 ; | |
var sheet = entityItem.sheets.Find ((s) => s.name.Equals ("item1")); | |
foreach(var param in sheet.list){ |
This file contains hidden or 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 UnityEngine; | |
using System.Collections; | |
using System; | |
public class DeleGateAction | |
{ | |
private const string COIN_KEY = "Coin"; | |
public static Action<int> OnCoinChange = delegate {}; | |
public static int Get() |
This file contains hidden or 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 UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
public class CoinText : MonoBehaviour | |
{ | |
private Text coinText; | |
void Awake () | |
{ |
OlderNewer