Beispiel #1
0
 public static void CreateRestaurantTile()
 {
     LocalUnityUtils.CreateTileOfType <RestaurantTile>("New " + nameof(RestaurantTile), "Asset", "Assets",
                                                       "Save " + nameof(RestaurantTile));
 }
Beispiel #2
0
 public static void CreateCondoTile()
 {
     LocalUnityUtils.CreateTileOfType <CondoTile>("New " + nameof(CondoTile), "Asset",
                                                  "Assets", "Save " + nameof(CondoTile));
 }
 public static void CreateGrassTile()
 {
     LocalUnityUtils.CreateTileOfType <GrassTile>("New Tile", "Asset", "Assets", "Save Tile");
 }
 /// <summary>
 /// Trigger any code that needs to run when the mouse pointer hovers over this object.
 /// </summary>
 /// <param name="eventData">Context info that needs to be provided for the pointer entering the zone.</param>
 public virtual void OnPointerEnter(PointerEventData eventData)
 {
     isHovered = true;
     LocalUnityUtils.SetCursor(this.cursor);
 }