コンロのツマミ切り替え追加
This commit is contained in:
parent
982b1ef22a
commit
cb9cc737f2
|
|
@ -4440,6 +4440,8 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
startingGuide: {fileID: 8677286139723025160}
|
||||
onToggle: {fileID: 1564034574}
|
||||
offToggle: {fileID: 779475523}
|
||||
fire: {fileID: 1295632042}
|
||||
oilEffect: {fileID: 2137549894}
|
||||
streamEffect: {fileID: 2137549893}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ using UnityEngine;
|
|||
public class PopcornGameView : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private GameObject startingGuide;
|
||||
[SerializeField] private GameObject onToggle;
|
||||
[SerializeField] private GameObject offToggle;
|
||||
[SerializeField] private GameObject fire;
|
||||
[SerializeField] private GameObject oilEffect;
|
||||
[SerializeField] private GameObject streamEffect;
|
||||
|
|
@ -56,6 +58,8 @@ public class PopcornGameView : MonoBehaviour
|
|||
{
|
||||
SoundManager.Instance.PlaySE("se_cooking_switch");
|
||||
}
|
||||
onToggle.SetActive(isActive);
|
||||
offToggle.SetActive(!isActive);
|
||||
fire.SetActive(isActive);
|
||||
oilEffect.SetActive(isActive);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue