void Start () { // Get components: go_CurrentCamera = v_ViewportCamera; Engine = GetComponent<CS_VehicleEngine>(); v_InteriorPanels = GetComponent<CS_WheeledTankInteriorPanels>(); v_TankWeapons = GetComponent<CS_WheeledTankWeapons_00>(); } // END - Start
// private BrakeCondition v_BrakeCondition = BrakeCondition.TargetDistance; Temp void Start() { // Get components: Engine = GetComponent<CS_VehicleEngine>(); WheelManager = GetComponent<CS_WheelManager>(); v_InteriorPanels = GetComponent<CS_WheeledTankInteriorPanels>(); Player = GameObject.Find ("PF_WheeledTank_00"); Player.GetComponent<Transform>(); CurrentTarget = Player; v_playerTrackerObject = GameObject.Find("Tracker"); } // END - Start