- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestData.cs
More file actions
Latest commit
22 lines (18 loc) · 571 Bytes
/
Copy pathTestData.cs
File metadata and controls
22 lines (18 loc) · 571 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
usingSystem.Collections;
usingSystem.Collections.Generic;
usingUnityEngine;
publicclassTestData:MonoBehaviour
{
publicstaticCharacterDataSetTestCharacterOne()
{
CharacterDatanewCharacter=ScriptableObject.CreateInstance<CharacterData>();
newCharacter.CreateNewRunnerByClassId(0);
returnnewCharacter;
}
publicstaticHackerDataSetTestHackerOne()
{
HackerDatanewHacker=ScriptableObject.CreateInstance<HackerData>();
newHacker.CreateNewHackerByClassId(0);
returnnewHacker;
}
}