整理核心代码和资源
This commit is contained in:
parent
e4751f2726
commit
ce949b475a
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 752b543a3e4114c119db5a59b1c3a9d3
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -75,6 +75,7 @@ GameObject:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 5195663044226207340}
|
- component: {fileID: 5195663044226207340}
|
||||||
|
- component: {fileID: 3015936537535145384}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: UIRoot
|
m_Name: UIRoot
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -101,6 +102,18 @@ RectTransform:
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &3015936537535145384
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5195663044226207331}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: e5a7353a4fbe34fde8272bf21e0b8bc2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
--- !u!1 &5195663044295154646
|
--- !u!1 &5195663044295154646
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 42c9c63c7642b45ca996759df7ba8bd9
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -9,7 +9,7 @@ public class ConfigBase<T> : ScriptableObject where T :ScriptableObject
|
||||||
{
|
{
|
||||||
if (mInstance == null)
|
if (mInstance == null)
|
||||||
{
|
{
|
||||||
mInstance = Resources.Load<T>(typeof(T).ToString());
|
mInstance = Resources.Load<T>("Config/" + typeof(T).ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
return mInstance;
|
return mInstance;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class UIListCell : MonoBehaviour
|
public class ListCell : MonoBehaviour
|
||||||
{
|
{
|
||||||
public int Index => mIndex;
|
public int Index => mIndex;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public abstract class UIListView<T> : MonoBehaviour, IListView where T : UIListCell
|
public abstract class ListView<T> : MonoBehaviour, IListView where T : ListCell
|
||||||
{
|
{
|
||||||
public abstract int Count
|
public abstract int Count
|
||||||
{
|
{
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 09e2bcea44ca94bff867839de7c98977
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in New Issue