Beispiel #1
0
    private void Start()
    {
        barModifier   = FindObjectOfType <BarModifier>();
        workManager   = FindObjectOfType <WorkManager> ();
        kitchenUsage  = FindObjectOfType <TimedKitchenUsage> ();
        bathroomUsage = FindObjectOfType <TimedBathroomUsage>();

        agent.updateRotation = false;         //we'll do that ourselves

        inputHoldWait = new WaitForSeconds(inputHoldDelay);

        destinationPosition = transform.position;
    }
 // Use this for initialization
 void Start()
 {
     barModifier = FindObjectOfType <BarModifier> ();
 }
Beispiel #3
0
 protected override void SpecificInit()
 {
     barModifier = FindObjectOfType <BarModifier> ();
 }
Beispiel #4
0
 protected override void SpecificInit()
 {
     moneyController = FindObjectOfType <MoneyController> ();
     barsModifier    = FindObjectOfType <BarModifier> ();
 }