Exemple #1
0
 protected virtual void ParseEffectTarget(AdvColumnName columnName)
 {
     this.targetName = base.ParseCell <string>(columnName);
     if (!ParserUtil.TryParaseEnum <AdvEffectManager.TargetType>(this.targetName, out this.targetType))
     {
         this.targetType = AdvEffectManager.TargetType.Default;
     }
 }
Exemple #2
0
 private bool IsUnder2DSpace(GameObject target)
 {
     AdvEffectManager.TargetType targetType = base.targetType;
     if (targetType != AdvEffectManager.TargetType.MessageWindow)
     {
         return((targetType == AdvEffectManager.TargetType.Default) && (target.GetComponent <AdvGraphicObject>() != null));
     }
     return(true);
 }