public override void Reset() { if( Owner ) { pause = this.Owner.GetComponent< PauseController >() ; } }
public override void Reset() { if (Owner) { pause = this.Owner.GetComponent <PauseController>(); } }
public override string ErrorCheck () { if( pause == null && Owner ) { pause = Owner.GetComponent< PauseController >() ; } if( pause == null ) { return "PauseController not defined" ; } if( pauseControllerDescriptionName != "Name: " + pause.pauseName ) { pauseControllerDescriptionName = "Name: " + pause.pauseName ; } return null ; }
public override string ErrorCheck() { if (pause == null && Owner) { pause = Owner.GetComponent <PauseController>(); } if (pause == null) { return("PauseController not defined"); } if (pauseControllerDescriptionName != "Name: " + pause.pauseName) { pauseControllerDescriptionName = "Name: " + pause.pauseName; } return(null); }