Example #1
0
 public override string GetTitlePrefix(PrefixType type)
 {
     if (type == PrefixType.Pure)
     {
         return(mName.WeightName);
     }
     else
     {
         return(mName.ToString());
     }
 }
Example #2
0
 public override string GetTitlePrefix(PrefixType type)
 {
     if (type == PrefixType.Pure)
     {
         return(mName.WeightName);
     }
     else
     {
         if (mFail)
         {
             return(mName + "Fail");
         }
         else if ((Target != null) && (Target.Child))
         {
             return(mName + "Child");
         }
         else
         {
             return(mName.ToString());
         }
     }
 }