Пример #1
0
        private static bool ExpectToken(SkillConditionTokenType type, SkillConditionToken token)
        {
            if (token.Type != type)
            {
                UnityEngine.Debug.LogError("Expected Token: " + type);
                return(false);
            }

            return(true);
        }
Пример #2
0
 public SkillConditionToken(SkillConditionTokenType type, string value)
 {
     Type  = type;
     Value = value;
 }
Пример #3
0
 public SkillConditionToken(SkillConditionTokenType type)
 {
     Type  = type;
     Value = string.Empty;
 }