public override bool Initialize(GameObject gameObject) { arcaneObject = gameObject.GetComponent <ArcaneObject>(); if (arcaneObject == null) { return(false); } return(base.Initialize(gameObject)); }
public override bool Initialize(GameObject gameObject) { this.arcaneObject = gameObject.GetComponent <ArcaneObject>(); return(arcaneObject != null && base.Initialize(gameObject)); }