Unity生命周期 具体应用
控制台会依次输出什么?
Test1.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test1 : MonoBehaviour
{
public int Count = 0;
void Awake()
{
Debug.Log("Awake1");
}
void Start
控制台会依次输出什么?
Test1.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test1 : MonoBehaviour
{
public int Count = 0;
void Awake()
{
Debug.Log("Awake1");
}
void Start