例えばこのスクリプト
using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { void Awake () { Debug.Log ("Awake called"); } // Use this for initialization void Start () { Debug.Log ("Start called"); } // Update is called once per frame void Update () { } }
GamObjectではdeactiveにしています。
しかし、 Awake ()が呼ばれます。Start ()は呼ばれません。