ドキュメント

Unity Engine

Unity Engine

didStart

Returns a boolean value which represents if Start was called.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool didStart { get; }

Examples

using UnityEngine;public class NewBehaviourScript : MonoBehaviour{ void Awake() { // Awake gets called before Start, therefore will print 'false'. Debug.Log(this.didStart); } void Start() { // Code is within Start, therefore will print 'true', as Start was called. Debug.Log(this.didStart); }}