s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
WackyLib
Released
Utilities and extensions used by Wacky Wizards
by Wacky Wizards library
updated 2 months ago
30.1KB
thumb_up_alt2 thumb_down_alt0 favorite4 library_books1
homeDetailsreviewsReviewcodeSource
folder.obj
description__compiler_extra.cs
folderAttributes
descriptionIdentAttribute.cs
descriptionLocalizedNameAttribute.cs
folderCode
folderAttributes
descriptionIdentAttribute.cs
descriptionLocalizedNameAttribute.cs
folderExtensions
descriptionCollectionExtensions.cs
descriptionGameObjectExtensions.cs
descriptionLoggerExtensions.cs
descriptionPanelExtensions.cs
descriptionSceneExtensions.cs
descriptionTraceExtensions.cs
folderPatterns
folderSingleton
descriptionPanelSingleton.cs
descriptionSingleton.cs
folderExtensions
descriptionCollectionExtensions.cs
descriptionGameObjectExtensions.cs
descriptionLoggerExtensions.cs
descriptionPanelExtensions.cs
descriptionSceneExtensions.cs
descriptionTraceExtensions.cs
folderPatterns
folderSingleton
descriptionPanelSingleton.cs
descriptionSingleton.cs
folderUnitTests
descriptionUnitTest.cs
Attributes/LocalizedNameAttribute.cs

Attribute type that can be applied to fields or properties to store a localization key. It defines a single string property Value initialized from the constructor parameter.

using System;

namespace WackyLib.Attributes;

[AttributeUsage( AttributeTargets.Field | AttributeTargets.Property )]
public class LocalizedNameAttribute( string key ) : Attribute
{
	public string Value { get; private set; } = key;
}
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter