- using UnityEngine;
- using System.Collections;
- public class Logo : MonoBehaviour {
- // Use this for initialization
- void Start ()
- {
- for(int i=0; i<transform.childCount; i++)
- {
- Transform child = transform.GetChild(i);
- if(child.name != Language.GetCurrentLanguage().ToString())
- child.gameObject.SetActive(false);
- }
- }
- }
|