1234567891011121314151617181920212223242526 |
- using System;
- using UnityEngine;
- using System.Collections;
- public class SwitcherGameProduction : MonoBehaviour
- {
- public Transform TransformNoneLifja;
- public Transform TransformDurexLifja;
- void Start () {
- switch (MenuManager._instance.CurStateGameState)
- {
- case MenuManager.StateGameProduction.DurexLifja:
- TransformNoneLifja.gameObject.SetActive(false);
- TransformDurexLifja.gameObject.SetActive(true);
- break;
- case MenuManager.StateGameProduction.None:
- TransformNoneLifja.gameObject.SetActive(true);
- TransformDurexLifja.gameObject.SetActive(false);
- break;
-
- }
- }
-
- }
|