Advertisement
Guest User

ANSIOSOO

a guest
Nov 20th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Manager : MonoBehaviour {
  5.  
  6. public static Manager main;
  7.  
  8. // Aqui declararemos variables que guardaran la informacion de nuestro script, si tienes un controlador propio, es cambiar los que hay por los tuyos.
  9. //Ej : public MiControlador scriptPersonaje, y en el script de EntrarCoche lo llamaremos con la sintaxis Manager.main.scriptPersonaje
  10.  
  11. public GameObject personaje;
  12. public GameObject coche;
  13. public ThirdPersonCharacter scriptPersonaje1;
  14. public ThirdPersonUserControl scriptPersonaje2;
  15. public GameObject cocheEvento;
  16. public GameObject cochePersonaje;
  17. public BasicInput scriptCoche1;
  18. public GameObject conductor;
  19. //public VehicleParent scriptCoche2;
  20. public CamaraWoW scriptCamara;
  21.  
  22. public bool modoCoche = false;
  23.  
  24. // Use this for initialization
  25. void Start () {
  26.  
  27. main = this;
  28.  
  29. }
  30.  
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement