浏览代码

Updated prefab to not have hotkey selected by default, cleaned up accordingly

/main
CGerrits SF 4 年前
当前提交
c46f5de0
共有 3 个文件被更改,包括 8 次插入1 次删除
  1. 2
      Assets/BossRoom/Prefabs/Character/CharacterSet.prefab
  2. 4
      Assets/BossRoom/Prefabs/Player.prefab
  3. 3
      Assets/BossRoom/Scripts/Development/dgtest/CharacterSwap.cs

2
Assets/BossRoom/Prefabs/Character/CharacterSet.prefab


m_Script: {fileID: 11500000, guid: a3048059d1dc86848a814084448ace11, type: 3}
m_Name:
m_EditorClassIdentifier:
hotswapKey: 13
hotswapKey: 0
modelIndex: 0
characterModels:
- ears: {fileID: 9110547478692365723}

4
Assets/BossRoom/Prefabs/Player.prefab


value: 7
objectReference: {fileID: 0}
- target: {fileID: 4654558647929214568, guid: d396ab139e993ee43b2eb29978bba8ff, type: 3}
propertyPath: hotswapKey
value: 13
objectReference: {fileID: 0}
- target: {fileID: 4654558647929214568, guid: d396ab139e993ee43b2eb29978bba8ff, type: 3}
propertyPath: modelIndex
value: 0
objectReference: {fileID: 0}

3
Assets/BossRoom/Scripts/Development/dgtest/CharacterSwap.cs


namespace BossRoom.Client
{
//DEBUG SCRIPT: Meant to serve as a placeholder to allow artists to quickly cycle through player models.
public class CharacterSwap : MonoBehaviour
{
[System.SerializableAttribute]

gear_right_hand.SetActive(isActive);
}
}
[SerializeField]
KeyCode hotswapKey;

正在加载...
取消
保存