Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class Manager : MonoBehaviour {
- public static Manager main;
- // Aqui declararemos variables que guardaran la informacion de nuestro script, si tienes un controlador propio, es cambiar los que hay por los tuyos.
- //Ej : public MiControlador scriptPersonaje, y en el script de EntrarCoche lo llamaremos con la sintaxis Manager.main.scriptPersonaje
- public GameObject personaje;
- public GameObject coche;
- public ThirdPersonCharacter scriptPersonaje1;
- public ThirdPersonUserControl scriptPersonaje2;
- public GameObject cocheEvento;
- public GameObject cochePersonaje;
- public BasicInput scriptCoche1;
- public GameObject conductor;
- //public VehicleParent scriptCoche2;
- public CamaraWoW scriptCamara;
- public bool modoCoche = false;
- // Use this for initialization
- void Start () {
- main = this;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement