dev
[Unity] C# Coding Standards
####
2022. 8. 28. 09:35
반응형
코딩 템플릿
namespace Templates
{
// Namespace Properties ------------------------------
// Class Attributes ----------------------------------
/// <summary>
/// Replace with comments...
/// </summary>
public class TemplateComponent : MonoBehaviour
{
// Events ---------------------------------------
// Properties -----------------------------------
public string SamplePublicText
{
get { return _samplePublicText; }
set { _samplePublicText = value; }
}
// Fields ---------------------------------------
private string _samplePublicText;
// Unity Methods --------------------------------
protected void Start ()
{
}
// Other Methods --------------------------------
public string SamplePublicMethod (string message)
{
return message;
}
// Event Handlers -------------------------------
private void Target_OnCompleted(string message)
{
}
}
}
https://sam-16930.medium.com/coding-standards-in-c-39aefee92db8
Unity — C# Coding Standards
Use C# Coding standards to benefit to your Unity project and your team.
sam-16930.medium.com
https://github.com/SamuelAsherRivello/unity-project-template
GitHub - SamuelAsherRivello/unity-project-template: This repo includes Project Structure Best Practices and C# Coding Standards
This repo includes Project Structure Best Practices and C# Coding Standards for Unity. It is a recommended starting point for new projects. - GitHub - SamuelAsherRivello/unity-project-template: Thi...
github.com
반응형