//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Monday, July 31, 2017 //-------------------------------------------------------- using UnityEngine; using System.Collections; namespace vnxbqy.UI { public class GameObjectDefaultActive:MonoBehaviour { [SerializeField] bool m_DefaultActive = true; public bool defaultActive { get { return m_DefaultActive; } } void Awake() { this.SetActive(defaultActive); } } }