Guest User

Untitled

a guest
Jul 15th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1.         public XpManagerClass[] EditorXpManager;
  2.        
  3.         [System.Serializable]
  4.         public class XpManagerClass{
  5.        
  6.             public static int xpToReach;
  7.             public static int lifeLevel;
  8.             public static int manaLevel;
  9.             public static int attackLevel;
  10.         }
  11. // error log : Assets/Scripts/_Agis/SaverAndLoader.cs(175,117): error CS0176: Static member `SaverAndLoader.XpManagerClass.xpToReach' cannot be accessed with an instance reference, qualify it with a type name instead
Add Comment
Please, Sign In to add comment