Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpriteMove : MonoBehaviour {
// 設定データを入れる
static Dictionary<string, float> settingDic = new Dictionary<string, float>(){
{"speedMax", 0F},
{"velocityMax", 0F}
static public void SetDict( string key, float value)
settingDic[key] = value;
Debug.Log( "Changed Value key: " +key+ " / value:"+ value);
private void Update()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment