Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RimuruDev authored Dec 26, 2022
1 parent ff34503 commit 91e8337
Showing 1 changed file with 72 additions and 2 deletions.
74 changes: 72 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,72 @@
# UnityScriptDefaultTemplates
Rimuru Script Default Templates for Unity
# RimuruDev [Unity Script Default Templates]

# For what?
- Facilitates routine work. Now there is no need to constantly clean up excess garbage in the standard Unity script. All frequently used constructions are now created in one click!

# Install
- Import this .unitypackage to your Unity project.
- Click Import all.
- Restart the unity project.
- Done!

![image](https://user-images.githubusercontent.com/85500556/209578330-0f5ba7fb-ef71-4b88-a953-31c132907b23.png)

# How to use?
- After installing this package, right-click in any folder and create a script.
- There are four ready-made script templates.

1. Default Unity script:

![image](https://user-images.githubusercontent.com/85500556/209578013-b822fd05-ac6c-4908-a503-c8a65aa7808a.png)

```csharp
using UnityEngine;

public sealed class NewScript : MonoBehaviour
{

}
```

2. Interface:

![image](https://user-images.githubusercontent.com/85500556/209577961-7d83a4ab-7d92-4241-bdfa-05e612787b4f.png)


```csharp
using UnityEngine;

public interface NewInterface
{

}
```

3. Serializable Struct:

![image](https://user-images.githubusercontent.com/85500556/209577996-67ff816e-b853-49a5-baea-b70dd4e94dd7.png)


```csharp
using UnityEngine;

[System.Serializable]
public struct NewStruct
{

}
```

4. Serializable Class:

![image](https://user-images.githubusercontent.com/85500556/209578090-c14e48e1-51f2-4246-82b4-f39643deea14.png)

```csharp
using UnityEngine;

[System.Serializable]
public sealed class NewClass
{

}
```

0 comments on commit 91e8337

Please sign in to comment.