Esempio n. 1
0
 public void BasicFlatRideSettings(FlatRide FlatRideScript)
 {
     FlatRideScript.fenceStyle = AssetManager.Instance.rideFenceStyles.rideFenceStyles[0].identifier; //= AssetManager.Instance.rideFenceGO;
     FlatRideScript.entranceGO = AssetManager.Instance.attractionEntranceGO;
     FlatRideScript.exitGO = AssetManager.Instance.attractionExitGO;
     FlatRideScript.categoryTag = "Attractions/Flat Ride";
     FlatRideScript.entranceExitBuilderGO = AssetManager.Instance.flatRideEntranceExitBuilderGO;
 }
Esempio n. 2
0
 public void BasicFlatRideSettings(FlatRide FlatRideScript)
 {
     FlatRideScript.fenceStyle            = AssetManager.Instance.rideFenceStyles.rideFenceStyles[0].identifier; //= AssetManager.Instance.rideFenceGO;
     FlatRideScript.entranceGO            = AssetManager.Instance.attractionEntranceGO;
     FlatRideScript.exitGO                = AssetManager.Instance.attractionExitGO;
     FlatRideScript.categoryTag           = "Attractions/Flat Ride";
     FlatRideScript.entranceExitBuilderGO = AssetManager.Instance.flatRideEntranceExitBuilderGO;
 }
Esempio n. 3
0
 public static void BasicFlatRideSetup(FlatRide flatRide)
 {
     flatRide.fenceStyle            = AssetManager.Instance.rideFenceStyles.rideFenceStyles[0].identifier;
     flatRide.entranceGO            = Extra.FlatRideEntrance(flatRide.gameObject);
     flatRide.exitGO                = AssetManager.Instance.attractionExitGO;
     flatRide.categoryTag           = "Attractions/Flat Ride";
     flatRide.defaultEntranceFee    = 1f;
     flatRide.entranceExitBuilderGO = AssetManager.Instance.flatRideEntranceExitBuilderGO;
 }
 public void BasicFlatRideSettings(FlatRide flatRideScript, string displayName, float price, float excitement, float intensity, float nausea, int x, int z)
 {
     _sceneryObjects.Add(flatRideScript);
     AssetManager.Instance.registerObject(flatRideScript);
     flatRideScript.fenceGO    = AssetManager.Instance.rideFenceGO;
     flatRideScript.entranceGO = AssetManager.Instance.rideEntranceGO;
     flatRideScript.exitGO     = AssetManager.Instance.rideExitGO;
     typeof(FlatRide).GetField("entranceExitBuilderGO", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public).SetValue(flatRideScript, AssetManager.Instance.flatRideEntranceExitBuilderGO);
     flatRideScript.price            = price;
     flatRideScript.excitementRating = excitement;
     flatRideScript.intensityRating  = intensity;
     flatRideScript.nauseaRating     = nausea;
     flatRideScript.setDisplayName(displayName);
     flatRideScript.xSize = x;
     flatRideScript.zSize = z;
 }
Esempio n. 5
0
 public void BasicFlatRideSettings(FlatRide flatRide, string name, float price, float excitement, float intensity, float nausea, int x, int Z)
 {
     _sceneryObjects.Add(flatRide);
     flatRide.setFenceStyle(AssetManager.Instance.rideFenceStyles.rideFenceStyles[0].identifier); //= AssetManager.Instance.rideFenceGO;
     flatRide.entranceGO            = AssetManager.Instance.attractionEntranceGO;
     flatRide.exitGO                = AssetManager.Instance.attractionExitGO;
     flatRide.categoryTag           = "Attractions/Flat Ride";
     flatRide.entranceExitBuilderGO = AssetManager.Instance.flatRideEntranceExitBuilderGO;
     flatRide.price            = price;
     flatRide.excitementRating = excitement;
     flatRide.intensityRating  = intensity;
     flatRide.nauseaRating     = nausea;
     flatRide.setDisplayName(name);
     flatRide.xSize = x;
     flatRide.zSize = Z;
 }
Esempio n. 6
0
 public void BasicFlatRideSettings(FlatRide flatRide, string name, float price, float excitement, float intensity, float nausea, int x, int Z)
 {
     _sceneryObjects.Add(flatRide);
     flatRide.setFenceStyle(AssetManager.Instance.rideFenceStyles.rideFenceStyles[0].identifier); //= AssetManager.Instance.rideFenceGO;
     flatRide.entranceGO = AssetManager.Instance.attractionEntranceGO;
     flatRide.exitGO = AssetManager.Instance.attractionExitGO;
     flatRide.categoryTag = "Attractions/Flat Ride";
     flatRide.entranceExitBuilderGO = AssetManager.Instance.flatRideEntranceExitBuilderGO;
     flatRide.price = price;
     flatRide.excitementRating = excitement;
     flatRide.intensityRating = intensity;
     flatRide.nauseaRating = nausea;
     flatRide.setDisplayName(name);
     flatRide.xSize = x;
     flatRide.zSize = Z;
 }
Esempio n. 7
0
    public void BasicFlatRideSettings(FlatRide FlatRideScript, string DisplayName, float price, float excitement, float intensity, float nausea, int x, int Z)
    {
        _sceneryObjects.Add(FlatRideScript);
        AssetManager.Instance.registerObject(FlatRideScript);
        FlatRideScript.setFenceStyle(AssetManager.Instance.rideFenceStyles.rideFenceStyles[0].identifier); //= AssetManager.Instance.rideFenceGO;
        FlatRideScript.entranceGO = AssetManager.Instance.attractionEntranceGO;
        FlatRideScript.exitGO = AssetManager.Instance.attractionExitGO;
        FlatRideScript.entranceExitBuilderGO = AssetManager.Instance.flatRideEntranceExitBuilderGO;
        FlatRideScript.price = price;
        FlatRideScript.categoryTag = "Attractions/Flat Ride";
        FlatRideScript.excitementRating = excitement;
        FlatRideScript.intensityRating = intensity;
        FlatRideScript.nauseaRating = nausea;
        FlatRideScript.setDisplayName(DisplayName);
        FlatRideScript.xSize = x;
        FlatRideScript.zSize = Z;
       

        
    }