コード例 #1
0
    public IEnumerable <KeyValuePair <uint, GameObject> > GetCustomerIDMappings()
    {
        if (idToCustomerPrefab == null)
        {
            idToCustomerPrefab = new GameObjectToIDMapType();
            instance           = this;
        }

        return(idToCustomerPrefab);
    }
コード例 #2
0
    public IEnumerable <KeyValuePair <uint, GameObject> > GetGeneralIDMappings()
    {
        if (idToGeneral == null)
        {
            idToGeneral = new GameObjectToIDMapType();
            instance    = this;
        }

        return(idToGeneral);
    }