Advertisement
diegographics

Untitled

Apr 7th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.70 KB | None | 0 0
  1. void Start()
  2.     {
  3.         ClassConstruction.Item Metal = null;
  4.         System.Collections.Generic.Dictionary<Level, string> Metal_Name = new System.Collections.Generic.Dictionary<Level, string>();
  5.         System.Collections.Generic.Dictionary<Level, string> Metal_Description = new System.Collections.Generic.Dictionary<Level, string>();
  6.  
  7.         Metal_Name.Add(Level.Level01, "Metall");
  8.         Metal_Name.Add(Level.Level02, "Schwer Metall");
  9.         Metal.object_name = Metal_Name;
  10.         Metal_Description.Add(Level.Level01, "Herkömmliches Metall");
  11.         Metal_Description.Add(Level.Level02, "Schwer Metall für höhere Stabilität");
  12.         Metal.object_description = Metal_Description;
  13.         UnityEngine.Debug.Log(UnityEngine.JsonUtility.ToJson(Metal));
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement