浏览代码

Key tag added

/AdsTesting
Arturo Nereu 4 年前
当前提交
8fc728dd
共有 5 个文件被更改,包括 25 次插入2 次删除
  1. 4
      Assets/Prefabs/Key.prefab
  2. 17
      Assets/Scenes/Level_00.unity
  3. 2
      Assets/Scripts/GameManager.cs
  4. 3
      Assets/Scripts/GameplayUI.cs
  5. 1
      ProjectSettings/TagManager.asset

4
Assets/Prefabs/Key.prefab


- component: {fileID: 8825849048276151305}
m_Layer: 0
m_Name: Key
m_TagString: Untagged
m_TagString: Key
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7024289968253537756}
m_LocalRotation: {x: -0.5021949, y: -0.49779552, z: -0.49779546, w: 0.5021948}
m_LocalRotation: {x: -0.5021943, y: -0.49779606, z: -0.49779606, w: 0.5021943}
m_LocalPosition: {x: -2.439844, y: 1.87, z: 0.73052454}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []

17
Assets/Scenes/Level_00.unity


propertyPath: m_Name
value: GameplayCanvas
objectReference: {fileID: 0}
- target: {fileID: 8629169230329452818, guid: 11482ef509975be43bcaf454f9771aed,
type: 3}
propertyPath: m_KeyIndicator
value:
objectReference: {fileID: 122326358}
--- !u!114 &122326358 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7702242263051669514, guid: 11482ef509975be43bcaf454f9771aed,
type: 3}
m_PrefabInstance: {fileID: 122326357}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &155182938
GameObject:
m_ObjectHideFlags: 0

2
Assets/Scripts/GameManager.cs


public static int s_MaxAvailableLevel = 4;
public static int s_ActiveHat;
public void ExitGame()
{
s_CurrentLevel = 0;

3
Assets/Scripts/GameplayUI.cs


{
[SerializeField]
private Button m_ExitButton;
[SerializeField]
private Image m_KeyIndicator;
private void OnEnable()
{

1
ProjectSettings/TagManager.asset


tags:
- Chest
- Door
- Key
layers:
- Default
- TransparentFX

正在加载...
取消
保存