Example #1
0
    //Method

    private void Start()
    {
        cl_Object = new Class_Object();

        Set_FirstStart();

        if (s_MapCode != "")
        {
            Set_MapFromCode(s_MapCode);
        }
    }
Example #2
0
    //Add

    /// <summary>
    /// Add to List
    /// </summary>
    /// <param name="g_Prepab"></param>
    public void Set_ListPrepab(GameObject g_Prepab, string s_ID)
    {
        int i_Exist = Get_Prepab_Index(s_ID);

        if (i_Exist == Get_Prepab_Index_NotFound())
        {
            Class_Object cs_Object = new Class_Object();
            l_Prepab.Add(cs_Object.Set_Prepab_Create(g_Prepab, t_ListContent));
            l_ID.Add(s_ID);
        }
        else
        {
            Set_ListPrepab(g_Prepab, i_Exist);
        }
    }