Exemplo n.º 1
0
 void Start()
 {
     //verticalSpeed = startSpeed;
     sceneCamera = GameObject.FindGameObjectWithTag("MinigameCamera").GetComponent<Camera>();
     manager = GameObject.FindGameObjectWithTag("Manager").GetComponent<Selfish_Sam_Manager>();
     //verticalSpeed += verticalSpeed * manager.verticalSpeedIncrease;
 }
Exemplo n.º 2
0
 void Start()
 {
     //movSpeed = startMovSpeed;
     myTexture = GetComponent<UITexture>();
     initalTextureY = myTexture.uvRect.y;
     manager = GameObject.FindGameObjectWithTag("Manager").GetComponent<Selfish_Sam_Manager>();
     //movSpeed -= movSpeed * manager.verticalSpeedIncrease;
 }
Exemplo n.º 3
0
	void Start()
	{
		listChildren = new List<Transform>();
		
		manager = GameObject.FindGameObjectWithTag("Manager").GetComponent<Selfish_Sam_Manager>();
		
		myShip = GameObject.Find("PirateShip").GetComponent<Pirate_Ship>();
	
		foreach (Transform child in transform)
  			listChildren.Add(child);
		
	}
Exemplo n.º 4
0
 void Start()
 {
     ship = GameObject.Find("PirateShip").GetComponent<Pirate_Ship>();
     manager = GameObject.FindGameObjectWithTag("Manager").GetComponent<Selfish_Sam_Manager>();
 }
Exemplo n.º 5
0
 void Start()
 {
     ship = GameObject.FindGameObjectWithTag("PirateShip").GetComponent<Pirate_Ship>();
     manager = GameObject.FindGameObjectWithTag("Manager").GetComponent<Selfish_Sam_Manager>();
     //myIntScale = GetComponent<InteractiveScale>();
 }