private void OnQuery_RIGHT()
 {
     if (!reInitialize)
     {
         enemyModelRenderTexture.Clear();
         enemyModelRenderTexture = null;
         int num = currentRegionCollectionData.IndexOf(enemyCollectionData);
         if (++num >= currentRegionCollectionData.Count)
         {
             num = 0;
         }
         GameSection.SetEventData(new object[2]
         {
             currentRegionCollectionData[num].id,
             currentRegionCollectionData
         });
         reInitialize = true;
         Initialize();
     }
 }
Пример #2
0
    private void SetEnabledUIModelRenderTexture(Enum ctrl_enum, bool enabled)
    {
        Transform ctrl = GetCtrl(ctrl_enum);

        if (Object.op_Implicit(ctrl))
        {
            UIModelRenderTexture component = ctrl.GetComponent <UIModelRenderTexture>();
            if (Object.op_Implicit(component))
            {
                component.set_enabled(enabled);
                if (!enabled)
                {
                    component.Clear();
                }
            }
        }
    }