public static void Initialize(BattleHelpImageType type)
 {
     if (BattleHelpImages._instance != null)
     {
         return;
     }
     BattleHelpImages._instance = Resources.Load <BattleHelpImages>(BattleHelpImages.GetObjectPath(type));
     BattleHelpImages._instance.LoadTexturesFromAssetBundle();
 }
 private static string GetObjectPath(BattleHelpImageType type)
 {
     if (type == BattleHelpImageType.Multi)
     {
         return("BattleHelpImagesMulti");
     }
     if (type != BattleHelpImageType.PvP)
     {
         return("BattleHelpImages");
     }
     return("BattleHelpImagesPvP");
 }
    public override void BattleTriggerInitialize()
    {
        BattleHelpImageType type       = BattleHelpImageType.Normal;
        BattleMode          battleMode = base.battleMode;

        if (battleMode != BattleMode.Multi)
        {
            if (battleMode == BattleMode.PvP)
            {
                type = BattleHelpImageType.PvP;
            }
        }
        else
        {
            type = BattleHelpImageType.Multi;
        }
        BattleHelpImages.Initialize(type);
        foreach (string arg in BattleHelpImages.imageNames)
        {
            this.imageNames.Add(string.Format("Tutorial_info/{0}", arg));
        }
    }