Skip to content

Commit 91e8337

Browse files
authored
Update README.md
1 parent ff34503 commit 91e8337

File tree

1 file changed

+72
-2
lines changed

1 file changed

+72
-2
lines changed

README.md

+72-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,72 @@
1-
# UnityScriptDefaultTemplates
2-
Rimuru Script Default Templates for Unity
1+
# RimuruDev [Unity Script Default Templates]
2+
3+
# For what?
4+
- 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!
5+
6+
# Install
7+
- Import this .unitypackage to your Unity project.
8+
- Click Import all.
9+
- Restart the unity project.
10+
- Done!
11+
12+
![image](https://user-images.githubusercontent.com/85500556/209578330-0f5ba7fb-ef71-4b88-a953-31c132907b23.png)
13+
14+
# How to use?
15+
- After installing this package, right-click in any folder and create a script.
16+
- There are four ready-made script templates.
17+
18+
1. Default Unity script:
19+
20+
![image](https://user-images.githubusercontent.com/85500556/209578013-b822fd05-ac6c-4908-a503-c8a65aa7808a.png)
21+
22+
```csharp
23+
using UnityEngine;
24+
25+
public sealed class NewScript : MonoBehaviour
26+
{
27+
28+
}
29+
```
30+
31+
2. Interface:
32+
33+
![image](https://user-images.githubusercontent.com/85500556/209577961-7d83a4ab-7d92-4241-bdfa-05e612787b4f.png)
34+
35+
36+
```csharp
37+
using UnityEngine;
38+
39+
public interface NewInterface
40+
{
41+
42+
}
43+
```
44+
45+
3. Serializable Struct:
46+
47+
![image](https://user-images.githubusercontent.com/85500556/209577996-67ff816e-b853-49a5-baea-b70dd4e94dd7.png)
48+
49+
50+
```csharp
51+
using UnityEngine;
52+
53+
[System.Serializable]
54+
public struct NewStruct
55+
{
56+
57+
}
58+
```
59+
60+
4. Serializable Class:
61+
62+
![image](https://user-images.githubusercontent.com/85500556/209578090-c14e48e1-51f2-4246-82b4-f39643deea14.png)
63+
64+
```csharp
65+
using UnityEngine;
66+
67+
[System.Serializable]
68+
public sealed class NewClass
69+
{
70+
71+
}
72+
```

0 commit comments

Comments
 (0)