示例#1
0
 void Awake()
 {
     _instance      = this;
     ReceiveData    = new FurnitureData();
     GameObjectPool = new List <GameObject>();
     Show           = Camera.main.GetComponent <SingleShow>();
 }
示例#2
0
    // Use this for initialization
    void Start()
    {
        Show = Camera.main.GetComponent <SingleShow>();
        //ClickUI.GetComponent<Button>().onClick.AddListener(OnClickButton);

        GameSearch.group = transform.parent.GetComponent <ToggleGroup>();
    }
示例#3
0
    void Awake()
    {
        _instance     = this;
        oCurCompoment = null;
        _isClose      = false;

        GameObjectPool   = new List <GameObject>();
        windowMeshs      = new Mesh[3];
        windowCompoments = new GameObject[3];
        windowSubMeshs   = new Mesh[3];
    }
 // Use this for initialization
 void Start()
 {
     single = Camera.main.GetComponent <SingleShow>();
 }