shaoxiadiablo/Assets/AGame/Scripts/Game/RideSceneLogic.cs
2025-05-18 01:04:31 +08:00

64 lines
1.4 KiB
C#

// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2022-03-21
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "RideSceneLogic" company="Kunpo"></copyright>
// <summary></summary>
// ***********************************************************************
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace G
{
/// <summary>
/// 类功能描述
/// </summary>
public class RideSceneLogic : MonoBehaviour
{
#region Field
public bool init
{
get;
set;
}
#endregion
#region Method
#endregion
#region Unity
public static RideSceneLogic Instance;
private void Awake()
{
Instance = this;
Camera.main.transform.GetChild(0).gameObject.SetActive(true);
}
// Use this for initialization
private System.Collections.IEnumerator Start()
{
while (!init)
yield return null;
KUIWindow.OpenWindow<UI.RideWindow>();
}
// Update is called once per frame
private void Update()
{
}
#endregion
}
}