BBGamelib.CCGLView.Awake C# (CSharp) Méthode

Awake() public méthode

public Awake ( ) : void
Résultat void
		public virtual void Awake() {
			if (Application.isPlaying) {
				if (_Instance != null && _Instance != this) {
					Destroy (this.gameObject);
					return;
				} else {
					_Instance = this;
				}
			} 
			if (firstPassFlag) {
				gameObject.transform.position = Vector3.zero;
				gameObject.name = "CCGLView";
				firstPassFlag = false;
			}
		}
		#endregion