public void Start() { taskController = GameObject.FindObjectOfType <CityTaskController>(); scoreController = GameObject.FindObjectOfType <CityScoreController>(); cityCrowdNPC = this.GetComponent <CityCrowdNPC>(); if (hasSign) { cityCrowdNPC.animator.SetBool("holdingSign", true); } InteractText = "Press J to give climate protester a sign"; }
public BikeTask(BikeShop bikeShop, CityTaskController controller) { this.bikeShop = bikeShop; taskController = controller; }