Skip to content

Commit

Permalink
Merge pull request #2 from sator-imaging/active/v3
Browse files Browse the repository at this point in the history
docs
  • Loading branch information
sator-imaging authored Jan 7, 2024
2 parents 9abed46 + 91e9088 commit 6869d5d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ As you already know, Roslyn's source generator is too sophisticated. This framew
- [✅ TODO](#todo)


<p><details lang="en" open><summary>📃 Table of Contents</summary>
<p><details lang="en" --open><summary>📃 Table of Contents</summary>

- [How to Use](#how-to-use)
- [Method Generator](#method-generator)
Expand Down Expand Up @@ -62,13 +62,17 @@ How to Use

Here is minimal implementation of source generator.

See [API Reference](https://sator-imaging.github.io/Unity-AltSourceGenerator/) for further details.


<p><details lang="ja" --open><summary><small>日本語 / JA</small></summary>

最小限のソースジェネレーターの構成はこちら。`StringBuilder` が渡されるので書き込んで `true` を返せば `context.OutputPath` に内容を書き込みます。`false` を返せば書き込みを中止できます。

<!------- End of Details JA Tag -------></details></p>



## Method Generator

This example will add `Panic()` method to target class.
Expand Down Expand Up @@ -209,7 +213,6 @@ Resulting file path will be:



Coding Goodies
==============

Expand Down Expand Up @@ -284,8 +287,8 @@ usg(MyClass.Complex); // -> global::...Dictionary<int, global::...List<global::
Samples
=======

SceneBuildIndexGenerator
------------------------
`SceneBuildIndexGenerator`
--------------------------

This sample allows you to handle scene index more efficiently.

Expand Down Expand Up @@ -475,7 +478,7 @@ Usually, this problem happens when Unity automatically reloads updated scripts W
Copyright
=========

Copyright &copy; 2023 Sator Imaging, all rights reserved.
Copyright &copy; 2023-2024 Sator Imaging, all rights reserved.



Expand All @@ -490,7 +493,7 @@ copies or substantial portions of the Software.</summary>
```text
MIT License
Copyright (c) 2023 Sator Imaging
Copyright (c) 2023-2024 Sator Imaging
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 6869d5d

Please sign in to comment.